Customer Order

Reorder items from a previous customer order

Re-adds the items from the given completed/canceled order to the authenticated customer's cart. Same flow as the storefront "Reorder" button.

post/reorder

Request

Headers

X-STOREFRONT-KEYstring required

Storefront API Key for authentication. Required for all shop/storefront API requests.

X-Localestring
Example:en

Locale code for localized data (e.g. "en", "fr", "ar"). Defaults to channel's default locale.

X-Channelstring
Example:default

Channel code (e.g. "default"). Defaults to the current channel.

X-Currencystring
Example:USD

Currency code (e.g. "USD", "EUR", "INR"). Defaults to channel's base currency.

Request body

orderIdinteger required

The ID of the previous order whose items should be added back to the cart.

Example request

{
  "orderId": 411
}

Response

Items re-added to the cart.

Changes

No recorded changes to this operation across all 13 revisions of this API.