Fulfillment Sets API Routes
A fulfillment set is a general form or way of fulfillment, such as "shipping" or "pick up".
All fulfillment-related configurations in a store are related to a fulfillment set.
These API routes allow admin users to manage fulfillment sets.
DELETE /admin/fulfillment-sets/{id}#
Delete Fulfillment Set
Delete a fulfillment set.
Authentication: secret API key (HTTP Basic authorization), cookie session, JWT bearer token.
Path parameters
idstringRequest examples
Responses
200 OK
idstringobjectstringDefault: "fulfillment_set"
deletedboolean400, 401, 404, 409, 422, 500: an error response is returned.
POST /admin/fulfillment-sets/{id}/service-zones#
Add a Service Zone to a Fulfillment Set
Add a service zone to a fulfillment set.
Authentication: secret API key (HTTP Basic authorization), cookie session, JWT bearer token.
Path parameters
idstringQuery parameters
fieldsstringOptional+ it will be added to the default fields, using - will remove it from the default fields. without prefix it will replace the entire default fields.Request body (application/json)
namestringgeo_zonesobject[]The service zone's geo zones.
geo_zonesobject[]Request examples
Responses
200 OK
fulfillment_setobjectThe service zone's fulfillment set.
fulfillment_setobject400, 401, 404, 409, 422, 500: an error response is returned.
GET /admin/fulfillment-sets/{id}/service-zones/{zone_id}#
Get a Service Zone in a Fulfillment Set
Retrieve a service zone that belongs to a fulfillment set. be paginated.
Authentication: secret API key (HTTP Basic authorization), cookie session, JWT bearer token.
Path parameters
idstringzone_idstringQuery parameters
fieldsstringOptional+ it will be added to the default fields, using - will remove it from the default fields. without prefix it will replace the entire default fields.Request examples
Responses
200 OK
service_zoneobjectThe shipping option's service zone.
service_zoneobject400, 401, 404, 409, 422, 500: an error response is returned.
POST /admin/fulfillment-sets/{id}/service-zones/{zone_id}#
Update the Service Zone of a Fulfillment Set
Update the details of a service zone in a fulfillment set.
Authentication: secret API key (HTTP Basic authorization), cookie session, JWT bearer token.
Path parameters
idstringzone_idstringQuery parameters
fieldsstringOptional+ it will be added to the default fields, using - will remove it from the default fields. without prefix it will replace the entire default fields.Request body (application/json)
namestringOptionalgeo_zonesobject[]OptionalThe service zone's associated geo zones.
geo_zonesobject[]OptionalRequest examples
Responses
200 OK
fulfillment_setobjectThe service zone's fulfillment set.
fulfillment_setobject400, 401, 404, 409, 422, 500: an error response is returned.
DELETE /admin/fulfillment-sets/{id}/service-zones/{zone_id}#
Remove a Service Zone from Fulfillment Set
Remove a service zone that belongs to a fulfillment set.
Authentication: secret API key (HTTP Basic authorization), cookie session, JWT bearer token.
Path parameters
idstringzone_idstringRequest examples
Responses
200 OK
idstringobjectstringDefault: "service_zone"
deletedbooleanparentobjectOptionalThe service zone's fulfillment set.
parentobjectOptional400, 401, 404, 409, 422, 500: an error response is returned.