Skip to main content
POST
/
fulfillment
/
serviceability
Check fulfillment
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
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Access token

Body

application/json

Fulfillment check request

delivery_pincode
string | null
required

delivery pincode, if null, the fulfillment type will be collect-in-store

cart_id
string
required
fulfillment_type
enum<string>
Available options:
delivery,
collect-in-store

Response

OK

message
string
required
success
boolean
required
content
object
required