Skip to main content
POST

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password. Use your client_id as the username and your secret as the password value.

Body

application/json

The input parameters required for adding products to a user's merchant cart.

external_user_id
string
required

Your unique identifier for the user.

Example:

"abc123"

merchant_id
integer
required

Unique identifier for the merchant.

Example:

44

products
object[]
required

List of products to add to the cart.

delivery_location
object
simulate
enum<string>

Simulate a failure in the development environment.

Available options:
failed
Example:

"failed"

Response

Successful request.

message
string

Success message.

Example:

"Success"