Skip to main content
POST
/
pos
/
carts
/
{id}
/
fulfillment-preference
Update fulfillment preference
curl --request POST \
  --url https://staging.api.commercengine.io/api/v1/{store_id}/storefront/pos/carts/{id}/fulfillment-preference \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "fulfillment_type": "<string>",
  "pickup_location_id": "<string>"
}'
{
  "message": "<string>",
  "success": true
}

Authorizations

Authorization
string
header
required

Access token

Path Parameters

id
string
required

Cart ID

Body

application/json
  • CollectInStoreFulfillment
  • DeliveryFulfillment
  • PartialCollectAndDelivery
fulfillment_type
string
required
Allowed value: "collect-in-store"
pickup_location_id
string
required

Response

OK

message
string
required
success
boolean
required
⌘I