Orders > Order Fulfillments > orderFulfillmentsModify
Commerce APIOrdersOrder FulfillmentsorderFulfillmentsModify
orderFulfillmentsModify
POST:order_fulfillments.json

Description

Modify one or multiple fulfillments.

Permission bit: "fulfillments.modify"

Topic: Order Fulfillments

Arguments

data: [OrderFulfillmentModify!]!

Main argument for mutations.


ids: [String!]!

List of fulfillment ids. See also: Unique Identifiers

Example: ["fu_EQzGqWoY"]


order_id: String!

Unique order identifier. See also: Unique Identifiers

Example: "or_EQzGqWoY"


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


type: FulfillmentType

When automatically creating a fulfillment, use only items from given category

Example: "physical"


Data Argument Fields

email: Boolean

Whether to notify customer about fulfillment creation or not

Example: false


pickup_inventory_location_id: String

Destination pickup inventory location

Valid when: pickup_inventory_location_id matches regexp pattern: ^il_


shipping_provider_type: ShippingProviderType

Type of the shipping provider


tracking_company: String

The name of the shipping company

Example: "Ship & Co"

Valid when: tracking_company's length doesn't exceed 250 characters


tracking_number: String

Shipping number, provided by the shipping company

Example: "1Z2345"

Valid when: tracking_number's length doesn't exceed 250 characters


tracking_url: String

The URLs to track the fulfillment

Example: "http://www.google.com/search?q=1Z2345"

Valid when: tracking_url's length doesn't exceed 250 characters


Result

[OrderFulfillment!]

Preview (typescript)

Loading module