Skip to main content

V3 API Schema

This page documents the GraphQL schema for the Wing V3 API. The schema defines the Query and Mutation operations available, along with their associated input and return types.

For detailed usage examples and parameter documentation for each operation, please refer to the API Reference section in the sidebar.

Query

The Query type defines the read operations available in the V3 API.

FieldArgumentTypeDescription
collects[Collect!]!Retrieve a list of collects
inputCollectsInput!
fulfillmentOrderFulfillmentOrder!Retrieve a single fulfillment order by ID
inputFulfillmentOrderInput!
fulfillmentOrders[FulfillmentOrder!]!Retrieve a list of fulfillment orders
inputFulfillmentOrdersInput!
orderOrder!Retrieve a single order by ID or reference
inputOrderInput!
orders[Order!]!Retrieve a list of orders
inputOrdersInput!
organizationExpeditors[OrganizationExpeditor!]!Retrieve a list of organization expeditors
inputOrganizationExpeditorsInput!
organizationPickups[OrganizationPickup!]!Retrieve a list of organization pickups
inputOrganizationPickupsInput!

Mutation

The Mutation type defines the write operations available in the V3 API.

FieldArgumentTypeDescription
addFulfillmentOrdersToCollectAddFulfillmentOrdersToCollectResult!Add fulfillment orders to a collect
inputAddFulfillmentOrdersToCollectInput!
cancelFulfillmentOrderParcelsCancelFulfillmentOrderParcelsResult!Cancel parcels for fulfillment orders
inputCancelFulfillmentOrderParcelsInput!
createFulfillmentOrderFulfillmentOrder!Create a new fulfillment order
inputCreateFulfillmentOrderInput!
createFulfillmentParcelFulfillmentOrder!Create a parcel for a fulfillment order
inputCreateFulfillmentParcelInput!
createFulfillmentReturnParcelFulfillmentOrder!Create a return parcel for a fulfillment order
inputCreateFulfillmentReturnParcelInput!
createOrderOrder!Create a new order
inputOrderToCreateInput!
createReturnFulfillmentOrderFulfillmentOrder!Create a return fulfillment order
inputCreateReturnFulfillmentOrderInput!
mergeFulfillmentOrderMergeFulfillmentOrderResult!Merge fulfillment orders
inputMergeFulfillmentOrderInput!
migrateFulfillmentOrderMigrateFulfillmentOrderResult!Migrate a fulfillment order
inputMigrateFulfillmentOrderInput!
removeFulfillmentOrdersFromCollectRemoveFulfillmentOrdersFromCollectResult!Remove fulfillment orders from a collect
inputRemoveFulfillmentOrdersFromCollectInput!
splitFulfillmentOrderSplitFulfillmentOrderResult!Split a fulfillment order
inputSplitFulfillmentOrderInput!
upsertNextCollectCollect!Create or update the next collect
inputUpsertNextCollectInput!

Core Types

For detailed documentation on specific types and their fields, please refer to the individual operation pages in the API Reference section. Each operation page includes comprehensive parameter documentation with examples in multiple languages.