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
The URL to send requests for the fulfillment service. The following considerations apply:
- 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.
- Shopify queries the
Whether the fulfillment service manages product inventory and provides updates to Shopify.
The name of the fulfillment service.
Whether the fulfillment service provides tracking numbers for packages.
FulfillmentServiceCreatePayload returns
The created fulfillment service.
The list of errors that occurred from executing the mutation.