Catalog
- GETRetrieve all products
- POSTCreate product
- GETRetrieve skus
- GETRetrieve product details
- PUTUpdate product details
- DELDelete product
- GETRetrieve product variants
- POSTCreate variant
- POSTUpdate variants in bulk
- GETRetrieve a variant details
- PUTUpdate a variant
- DELDelete a variant
- GETRetrieve product inventory
- POSTUpdate product inventory
- GETRetrieve product inventory activities
- PUTUpdate product inventory activities
- POSTCreate product inventory activities
- GETRetrieve product reviews
- GETRetrieve product review
- PUTUpdate product review
- DELDelete product review
- GETRetrieve all categories
- POSTCreate category
- GETRetrieve category
- PUTUpdate category
- DELDelete category
- GETRetrieve all attributes
- POSTCreate attribute
- GETRetrieve attribute
- PUTUpdate attribute
- DELDelete attribute
- POSTAdd product pricing
- PUTUpdate product pricing
- DELDelete product pricing
- POSTAdd product image
- PUTUpdate product image
- DELDelete product image
- GETRetrive sku detail
Auth
- PUTActivate user account
- PUTDeactivate user account
- GETCheck domain availability
- GETRetrieve all roles
- POSTCreate new role
- PUTUpdate role
- DELDelete role
- GETRetrieve all permissions of a role
- POSTAdd permission to role
- DELRemove permission from role
- GETRetrieve all members
- POSTCreate new member
- GETRetrieve member detail
- PUTUpdate member details
- DELDelete member
- GETRetrieve all roles of a member
- POSTAssigne role to member
- DELRemove role from member
Coupons & promotions API
- GETList all coupons
- POSTCreate coupon
- GETRetrieve coupon details
- PUTUpdate coupon
- DELDelete coupon
- GETList all coupon codes
- POSTAdd coupon code
- GETList all coupon customers
- GETRetrieve coupon usage
- GETList all promotions
- POSTCreate promotion
- GETRetrieve promotion details
- PUTUpdate promotion
- DELDelete promotion
- GETList all promotion usage
- GETList all promotion customers
Warehouse
Orders API
Shipping API
Customers API
Segments API
Payments API
Media Gallery API
Catalog
Retrieve skus
GET
/
catalog
/
skus
curl --request GET \
--url https://services.commercengine.dev/api/v1/x2yh61zw4k/admin/catalog/skus \
--header 'Authorization: Bearer <token>'
{
"message": "<string>",
"success": true,
"content": {
"skus": [
{
"product_id": "<string>",
"product_name": "<string>",
"variant_id": "<string>",
"variant_name": "<string>",
"product_type": "physical",
"sku": "<string>",
"stock_available": true,
"is_featured": false,
"on_offer": false,
"on_subscription": false,
"on_promotion": false,
"attributes": [
{
"id": "<string>",
"name": "<string>",
"attribute_type": "single_select",
"attribute_value": "<string>",
"is_visible": true,
"is_filterable": false
}
],
"images": [
{
"id": 123,
"title": "<string>",
"alternate_text": "<string>",
"sort_order": 123,
"url_tiny": "<string>",
"url_thumbnail": "<string>",
"url_standard": "<string>",
"url_zoom": "<string>",
"other_details": {}
}
],
"pricing": {
"id": 123,
"customer_group_id": "<string>",
"cost_price": 123,
"listing_price": 123,
"selling_price": 123,
"min_order_quantity": 123,
"max_order_quantity": 123,
"incremental_quantity": 123,
"tax_type": "<string>",
"tax_rate": 123
},
"shipping": {
"is_free_shipping": false,
"is_fixed_cost_shipping": false,
"fixed_cost_shipping_price": 123,
"is_shipping_price_include_tax": true,
"availability_description": "<string>",
"ships_internationally": true,
"mid_code": "<string>",
"country_of_origin": "<string>"
},
"tags": [
"<string>"
],
"category_ids": [
"<string>"
],
"reviews_rating_sum": 123,
"reviews_count": 123,
"promotion": [
{
"promotion_type": "<string>",
"starts_at": "<string>",
"expires_at": "<string>",
"details": [
{
"discount_type": "percentage",
"discount_percent": 123,
"discount_fixed_amount": 123,
"customer_group_id": "<string>"
}
]
}
],
"subscription": [
{
"subscription_plan": "<string>",
"billing_interval": 123,
"billing_frequency": "<string>",
"billing_limit": 123,
"billing_trial_days": 123,
"order_interval": 123,
"order_frequency": "<string>",
"order_limit": 123,
"fulfill_separately": true,
"subscription_price": [
{
"customer_group_id": "<string>",
"min_quantity": 123,
"suscription_price": 123
}
],
"quantity": 123
}
]
}
],
"pagination": {
"total_records": 123,
"total_pages": 123,
"previous_page": "<any>",
"limit": 123,
"next_page": "<any>"
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200 - application/json
OK
Available options:
physical
, digital
, bundle
Available options:
color
, single_select
, multi_select
, text
, date
, radio
, image
, file
, number
, currency
Maximum length:
128
Maximum length:
128
Maximum length:
512
Maximum length:
512
Maximum length:
512
Maximum length:
512
Maximum length:
64
customer group ulid
Maximum length:
128
Available options:
percentage
, fixed-amount
'> 0' if discount_type = percentage, otherwise set 0.
'> 0' if discount_type = fixed-amount, otherwise set 0.
null means never expires.
Maximum length:
64
Maximum length:
64
Maximum length:
64
curl --request GET \
--url https://services.commercengine.dev/api/v1/x2yh61zw4k/admin/catalog/skus \
--header 'Authorization: Bearer <token>'
{
"message": "<string>",
"success": true,
"content": {
"skus": [
{
"product_id": "<string>",
"product_name": "<string>",
"variant_id": "<string>",
"variant_name": "<string>",
"product_type": "physical",
"sku": "<string>",
"stock_available": true,
"is_featured": false,
"on_offer": false,
"on_subscription": false,
"on_promotion": false,
"attributes": [
{
"id": "<string>",
"name": "<string>",
"attribute_type": "single_select",
"attribute_value": "<string>",
"is_visible": true,
"is_filterable": false
}
],
"images": [
{
"id": 123,
"title": "<string>",
"alternate_text": "<string>",
"sort_order": 123,
"url_tiny": "<string>",
"url_thumbnail": "<string>",
"url_standard": "<string>",
"url_zoom": "<string>",
"other_details": {}
}
],
"pricing": {
"id": 123,
"customer_group_id": "<string>",
"cost_price": 123,
"listing_price": 123,
"selling_price": 123,
"min_order_quantity": 123,
"max_order_quantity": 123,
"incremental_quantity": 123,
"tax_type": "<string>",
"tax_rate": 123
},
"shipping": {
"is_free_shipping": false,
"is_fixed_cost_shipping": false,
"fixed_cost_shipping_price": 123,
"is_shipping_price_include_tax": true,
"availability_description": "<string>",
"ships_internationally": true,
"mid_code": "<string>",
"country_of_origin": "<string>"
},
"tags": [
"<string>"
],
"category_ids": [
"<string>"
],
"reviews_rating_sum": 123,
"reviews_count": 123,
"promotion": [
{
"promotion_type": "<string>",
"starts_at": "<string>",
"expires_at": "<string>",
"details": [
{
"discount_type": "percentage",
"discount_percent": 123,
"discount_fixed_amount": 123,
"customer_group_id": "<string>"
}
]
}
],
"subscription": [
{
"subscription_plan": "<string>",
"billing_interval": 123,
"billing_frequency": "<string>",
"billing_limit": 123,
"billing_trial_days": 123,
"order_interval": 123,
"order_frequency": "<string>",
"order_limit": 123,
"fulfill_separately": true,
"subscription_price": [
{
"customer_group_id": "<string>",
"min_quantity": 123,
"suscription_price": 123
}
],
"quantity": 123
}
]
}
],
"pagination": {
"total_records": 123,
"total_pages": 123,
"previous_page": "<any>",
"limit": 123,
"next_page": "<any>"
}
}
}