POST /v1/events/ecommerce/add-to-cart

Add to cart

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
user Object No
user.email String No
user.phone String No
user.externalIdentifiers Object No
user.externalIdentifiers.clientUserId String No
user.externalIdentifiers.customIdentifiers[] Array No
user.externalIdentifiers.customIdentifiers[].name String No
user.externalIdentifiers.customIdentifiers[].value String No
items[] Array No
items[].price[] Array No
items[].price[].value Number No
items[].price[].currency String No
items[].productId String No
items[].name String No
items[].productVariantId String No
items[].quantity Number No
items[].productUrl String No
items[].productImage String No

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.