fulfillment Service Update
Requires access scope. Also: The user must have fulfill_and_ship_orders permission.
Updates a fulfillment service.
If you need to update the location managed by the fulfillment service (for example, to change the address of a fulfillment service), use the LocationEdit mutation.
Arguments
- Anchor to callbackUrlcallback•URL
Url The URL to send requests for the fulfillment service.
If
is provided:
- Shopify queries the
callback_url/fetch_tracking_numbers
endpoint to retrieve tracking numbers for orders, ifis set to
true
. - Shopify queries the
callback_url/fetch_stock
endpoint to retrieve inventory levels, ifis set to
true
. - Shopify uses the
callback_url/fulfillment_order_notification
endpoint to send fulfillment and cancellation requests.
Otherwise, if no
is provided you need to submit this information via the api:
- For submitting tracking info and handling fulfillment requests, see our docs on building for fulfillment services.
- For managing inventory quantities, see our docs on managing inventory quantities and states.
- Shopify queries the
- •ID!required
The id of the fulfillment service.
- Anchor to inventoryManagementinventory•Boolean
Management Whether the fulfillment service manages product inventory and provides updates to Shopify.
If
is provided, 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
The name of the fulfillment service.
- Anchor to requiresShippingMethodrequires•Boolean
Shipping Method Default:true Whether the fulfillment service requires products to be physically shipped.
- Anchor to trackingSupporttracking•Boolean
Support Whether the fulfillment service provides tracking numbers for packages.
If
is provided, 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.
- Anchor to permitsSkuSharingpermits•Boolean
Sku Sharing Deprecated
- Anchor to fulfillmentServicefulfillment•Fulfillment
Service Service The updated fulfillment service.
- Anchor to userErrorsuser•[User
Errors Error!]! non-null The list of errors that occurred from executing the mutation.