Commerce Engine Docs home page
Search...
Support
Return to site
Return to site
Search...
Navigation
Documentation
Storefront API Reference
Admin API Reference
Documentation
API Documentation
Introduction
Authentication APIs
Login & Register
Create & Manage Users
Catalog APIs
GET
List all products
GET
List all skus
GET
Retrieve a product
GET
Retrieve product variants
GET
Retrieve variant detail
GET
List all categories
GET
Retrieve product reviews
POST
Create product review
GET
Retrieve similar products
GET
Retrieve up sell products
GET
Retrieve cross sell products
GET
Retrieve recommended products
POST
Datocms webhook
Cart & Checkout APIs
Cart
Checkout
Coupons & promotions API
GET
Retrieve all coupons
GET
Retrieve all promotions
Customers API
GET
Retrieve all addresses
POST
Add address
GET
Retrieve particular address
PUT
Update particular address
DEL
Remove particular address
GET
Retrieve loyalty details
GET
List all loyalty points activity
GET
Retrieve all reviews
Orders APIs
GET
Retrieve all orders
POST
Create order
GET
Retrieve order detail
GET
Retrieve order shipments
GET
Retrieve order refunds
GET
Retrieve order payments
POST
Cancel order
POST
Retry payment
Shipping APIs
GET
Check pincode serviceability
Payments API
POST
Generate hash
GET
Retrieve available payment methods
Common API
GET
Retrieve all countries
GET
Retrieve country wise states
GET
Retrieve pincodes
Analytics
POST
Track event
Campaigns API
POST
Subscribe to newsletter
Common API
Retrieve country wise states
GET
/
common
/
countries
/
{country_iso_code}
/
states
Try it
Authorizations
Authorization
string
header
required
Access token
Path Parameters
country_iso_code
string
required
country iso code in 2 chars. ex. IN for India
Response
200 - application/json
content
object
Show child attributes
content.
states
object[]
Show child attributes
content.states.
iso_code
string
required
content.states.
name
string
required
content.states.
gst_code
string
message
string
success
boolean
Retrieve all countries
Retrieve pincodes