fulfillment Service Create
Requires access scope. Also: The user must have fulfill_and_ship_orders permission.
Creates a fulfillment service.
Fulfillment service location
When creating a fulfillment service, a new location will be automatically created on the shop and will be associated with this fulfillment service. This location will be named after the fulfillment service and inherit the shop's address.
If you are using API version 2023-10 or later, and you need to specify custom attributes for the fulfillment service location
(for example, to change its address to a country different from the shop's country),
use the
LocationEdit
mutation after creating the fulfillment service.
Arguments
- Anchor to callbackUrlcallback•URL!
Url required The URL to send requests for the fulfillment service.
If
is provided (optional as of API version "2026-01"), the following considerations apply:- Shopify queries the
callback_url/fetch_tracking_numbersendpoint to retrieve tracking numbers for orders, ifis set totrue. - Shopify queries the
callback_url/fetch_stockendpoint to retrieve inventory levels, ifis set totrue. - Shopify uses the
callback_url/fulfillment_order_notificationendpoint to send fulfillment and cancellation requests.
- Shopify queries the
- Anchor to inventoryManagementinventory•Boolean
Management Default:false Whether the fulfillment service manages product inventory and provides updates to Shopify.
If
is provided (optional as of API version "2026-01"), Shopify will periodically fetch inventory levels via the callback endpoint.If no
is provided you need to submit this information via the api, see our docs on managing inventory quantities and states.- Anchor to namename•String!required
The name of the fulfillment service.
- Anchor to trackingSupporttracking•Boolean
Support Default:false Whether the fulfillment service provides tracking numbers for packages.
If
is provided (optional as of API version "2026-01"), Shopify will periodically fetch tracking numbers via the callback endpoint.If no
is provided you need to submit this information via the api, see our docs on building for fulfillment services.
Deprecated arguments
- Anchor to fulfillmentOrdersOptInfulfillment•Boolean
Orders Opt In DeprecatedDefault:true - Anchor to permitsSkuSharingpermits•Boolean
Sku Sharing DeprecatedDefault:true
- Anchor to fulfillmentServicefulfillment•Fulfillment
Service Service The created fulfillment service.
- Anchor to userErrorsuser•[User
Errors Error!]! non-null The list of errors that occurred from executing the mutation.