Skip to main content

Merge this cart into another OPEN cart of the same shopper

POST 

/carts/:cartId/merges

MergeInto. The source cart becomes MERGED; the target must be OPEN, belong to the same shopper and never be the cart itself (ErrMergeTarget).

Request​

Responses​

The target cart after the merge.

Response Headers
    Idempotency-Replayed

    "true" when the answer is the stored response of an earlier request with the same Idempotency-Key (a 2xx, or a refusal that is final for the request; a retryable refusal and a 5xx are never stored - the key is released); absent on the first execution.