Magidoc

orderLinesCsvUpload
Mutation

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

Arguments

#

file

Non-null

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

orderId

ID !
Non-null

ID of the order to upload lines to.

Response

#

Returns OrderLinesCsvUpload .

Example

#