shopOrderLineCreate Mutation

Creates a new shop order line.

Input Argument

shopOrderLineCreate accepts a single input argument, an input type, which contains the values it uses.

The fields inside input are:

clientMutationId (String)

A unique identifier for the client performing the mutation.

customFields ([CustomFieldInput!])

Values for custom fields to be used by the UI Extension that is linked to the record.

customFieldsAttachments ([AttachmentInput!])

The attachments used in the custom fields' values.

newAddresses ([AddressInput!])

New or updated addresses of the shop order line.

quantity (Int!)

The number units ordered.

requestedForId (ID!)

The person for whom the shop order line was submitted.

shopArticleId (ID!)

The shop article that is ordered.

source (String)

An identifier for the client application submitting the resource or the name of an external system.

sourceID (String)

The unique identifier of the resource in an external system.

Return Fields

clientMutationId (String)

A unique identifier for the client performing the mutation.

errors ([ValidationError!])

Errors encountered during the mutation.

shopOrderLine (ShopOrderLine)

Record after mutation.