- Back to home
- Store API
- Carts
- Auth
- Create Payment SessionsPOST
- Refresh a Payment SessionPOST
- Create a CartPOST
- Complete a CartPOST
- Select a Payment SessionPOST
- Delete a Payment SessionDELETE
- Update a Payment SessionPOST
- Get a CartGET
- Update a CartPOST
- Add Shipping MethodPOST
- Update a Line ItemPOST
- Delete a Line ItemDELETE
- Add a Line ItemPOST
- Calculate Cart TaxesPOST
- Remove DiscountDELETE
- Customers
- Gift Cards
- Orders
- Order Edits
- Payment Collections
- Products
- Product Variants
- Product Tags
- Product Categories
- Product Collections
- Product Types
- Regions
- Returns
- Return Reasons
- Shipping Options
- Swaps
Customer Login (JWT)
POST
/store/token
Store API/AuthAuth
Request
Body Params application/json
email
string
required
password
string
required
Example
{
"email": "string",
"password": "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 '/store/token' \
--header 'Content-Type: application/json' \
--data-raw ''
Responses
🟢200OK
application/json
Body
The access token details.
access_token
string
optional
Example
{
"access_token": "string"
}
🟠400Client Error or Multiple Errors
🟠401User does not exist or incorrect credentials
🟠404Not Found Error
🟠409Invalid State Error
🟠422Invalid Request Error
🔴500Server Error
Modified at 2024-05-23 07:10:14