younifyd
Menu

Create Account Cart Association

Create an Account Cart Association

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

Use it in a workflow

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

Request

Path parameters

cartIDstringrequired

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

Headers

EP-Account-Management-Authentication-Tokenstring

An Account Management Authentication token to access a specific account's carts.

Response

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

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