younifyd
Menu

Create Customer Cart Association

Create a Customer Cart Association

POST/v2/carts/{cartID}/relationships/customers

Use it in a workflow

  1. Add a step and choose the Elastic Path connector.
  2. Pick the Create Customer Cart Association action (under Carts).
  3. Fill in the fields below, then reference the result from later steps as {{createCustomerCartAssociation.response.data}}.

Request

Path parameters

cartIDstringrequired

The ID for the cart created by the customer. Ensure that you follow the guidelines for [Safe Characters](/guides/Getting-Started/safe-characters).

Headers

X-Moltin-Customer-Tokenstring

A customer token to access a specific customer's carts.

Response

Returns 200 with a any. Read it in later steps with {{createCustomerCartAssociation.response.data.<field>}}.

Need more? See the Elastic Path guide for connection setup and behaviour shared by every action.

Create Customer Cart Association — Elastic Path — Documentation