Yordadev Docs
Search…
Customer
When interacting with the shop resource, some endpoints allow for customer or guest information associated with the request.

Customer Access Token

Yordadev's eCommerce Solution provides all shop's their own segregated customer's authentication & authorization system. Some resource endpoints like adding a product to a cart require an additional header to be added to the request.
1
X-Customer-Token: Bearer {InsertCustomerTokenHere}
Copied!

External Authentication or Guest

You can either utilize our guest user persistent cart system or you can use your own auth system. Whatever you choose, we got you covered. You will still need to include the following header either way:
1
X-Customer-Token: Bearer {InsertSessionID|or|ExternalToken}
Copied!
You may utilize your own customer token such as a session_id or your own generated token.
Note the life cycle on guest carts is 72 hours.
post
https://auth.yordadev.network
/v2/shop/customer/login
Authenticating a Existing Customer
post
https://auth.yordadev.network
/v2/shop/customer/register
Registering a new Customer
Last modified 8mo ago