Requires unauthenticated_write_checkouts_info access scope.
An access token is required to call this API. Refer to Authorization for more information about how to obtain the token.
Adds a list of line items to a checkout.
Arguments
lineItems ● [CheckoutLineItemInput!]non-null
A list of line item objects to add to the checkout.
More
checkoutId ● String!non-null
Checkout id
Return
checkout ● Checkout
The updated checkout object.
More
checkoutUserErrors ● [CheckoutUserError]
The list of errors that occurred from executing the mutation.
More
Status and error codes
For detailed information about common codes, see Status and error codes.
Was this article helpful to you?