Skip to main content

Create an Account Cart Association

POST 

/v2/carts/:cartID/relationships/accounts

You can create associations between an account and one or more carts. After cart associations exist for an account, the account can access those carts across any device.

Request

Path Parameters

    cartID stringrequired

    The ID for the cart created by the account. Ensure that you follow the guidelines for Safe Characters.

Header Parameters

    EP-Account-Management-Authentication-Token string

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

Body

    data undefined[]
  • Array [
  • id string

    The ID of the account.

    type string

    The type of related object. Ensure that it is account.

  • ]

Responses

OK

Response Headers
    Schema
      data undefined[]
    • Array [
    • id string

      The ID of the account.

      type string

      The type of related object. Ensure that it is account.

    • ]
    Loading...