Commerce Engine is now in beta. We're working hard to make it better for you.
curl --request POST \
--url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/fulfillment/serviceability \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"delivery_pincode": "<string>",
"cart_id": "<string>",
"fulfillment_type": "delivery"
}
'{
"message": "<string>",
"success": true,
"content": {
"is_serviceable": true,
"unserviceable_items": [
{
"product_id": "<string>",
"product_name": "<string>",
"product_image_url": "<string>",
"variant_id": "<string>",
"variant_name": "<string>",
"unserviceable_quantity": 123,
"max_available_quantity": 123
}
]
}
}Checking if fulfillment is available to the entered pincode based on shipping zones and inventories.
curl --request POST \
--url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/fulfillment/serviceability \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"delivery_pincode": "<string>",
"cart_id": "<string>",
"fulfillment_type": "delivery"
}
'{
"message": "<string>",
"success": true,
"content": {
"is_serviceable": true,
"unserviceable_items": [
{
"product_id": "<string>",
"product_name": "<string>",
"product_image_url": "<string>",
"variant_id": "<string>",
"variant_name": "<string>",
"unserviceable_quantity": 123,
"max_available_quantity": 123
}
]
}
}Access token
Fulfillment check request
Was this page helpful?