Skip to main content
Use these terms throughout the API documentation.

Credentials and identifiers

Partner API key

Send the Partner API key in the x-api-key header for categories, products, product detail, search, and exchange quotes.
The Partner API key identifies your catalog, so do not send a Partner ID on these requests. Keep the key server-side and out of logs and public repositories. Ask Keystone to rotate it if it is exposed.

Customer access token

OTP verification issues a Customer access token and Refresh token. Send the Customer access token using the Authorization header shown below. Checkout, wallet, support, and return requests also require x-partner-id.
Use each Customer access token only for the customer account that received it.

Send OTP

Request:
Response:

Verify OTP

partnerId is required for every customer OTP verification. Use the Partner ID issued for your integration. Send referralCode only when the customer signs up with a referral code. Request:
Response:

Refresh token

Request:
Response:

Logout

Request:
Response: