Buy
Buy Item
Buy an item on behalf of your end-user.
POST
Headers
Your API key for authentication.
Body
Array of items to purchase.
The unique identifier for the user.
The unique identifier for the store.
Response
A message indicating the result of the purchase operation.
A code indicating the result of the purchase operation. Possible values:
ORDER_CREATED
: Order created successfullyAUTH_MISSING
: No API key providedINVALID_KEY
: Invalid API keyBAD_REQUEST_ERROR
: Invalid request parametersSTORE_NOT_FOUND
: Store ID not foundUSER_NOT_FOUND
: User ID not foundSTORE_NOT_VERIFIED
: Store is not verified yetFORBIDDEN
: Not authorized to access storeINTERNAL_ERROR
: Server error occurred
Error message if the request fails.