Skip to main content

orderLinesCsvUpload

Uploads lines for a draft order via CSV. This mutation must be sent as a multipart request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec

orderLinesCsvUpload(
file: Upload!
orderId: ID!
): OrderLinesCsvUpload

Arguments

orderLinesCsvUpload.file ● Upload! non-null scalar

Represents a csv file, must have at least 3 columns, one being titled 'id_type', one being 'id', and one being 'quantity'.

orderLinesCsvUpload.orderId ● ID! non-null scalar

ID of the order to upload lines to.

Type

OrderLinesCsvUpload object

Uploads lines for a draft order via CSV. This mutation must be sent as a multipart request. More detailed specs of the upload format can be found here: https://github.com/jaydenseric/graphql-multipart-request-spec

Was this page helpful?