- Getting Started
- Auth
- Carts
- Create Payment SessionsPOST
- Update a Payment SessionPOST
- Delete a Payment SessionDELETE
- Create a CartPOST
- Get a CartGET
- Update a CartPOST
- Remove DiscountDELETE
- Add a Line ItemPOST
- Update a Line ItemPOST
- Delete a Line ItemDELETE
- Select a Payment SessionPOST
- Refresh a Payment SessionPOST
- Add Shipping MethodPOST
- Calculate Cart TaxesPOST
- Complete a CartPOST
- Customers
- Gift Cards
- Orders
- Order Edits
- Payment Collections
- Products
- Product Variants
- Product Categories
- Product Collections
- Product Tags
- Product Types
- Regions
- Returns
- Return Reasons
- Shipping Options
- Swaps
Verify Order Claim
POST
/store/orders/customer/confirm
Orders
Request
Body Params application/json
The details necessary to grant order access.
token
string
required
Example
{
"token": "string"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.medusa-commerce.com/store/orders/customer/confirm' \
--header 'Content-Type: application/json' \
--data-raw '{
"token": "string"
}'
Responses
🟢200OK
application/json
Body
object {0}
Example
{}
🟠400Client Error or Multiple Errors
🟠401User is not authorized. Must log in first
🟠404Not Found Error
🟠409Invalid State Error
🟠422Invalid Request Error
🔴500Server Error
Modified at 2024-01-06 03:57:20