Mutation
mutation AddReturnLineItem($request: AddReturnLineItemCommandRequestInput!) {
AddReturnLineItem(request: $request) {
returnLineItemId
}
}Variables
{
"request": {
"returnId": "id",
"quantity": "value"
}
}Response
{
"data": {
"AddReturnLineItem": {
"returnLineItemId": "id"
}
}
}Mutations
AddReturnLineItem
Adds a new line item to an existing return. On an installation connected to the fulfillment network, a line item that agrees with an existing one of the same return on delivery note position, state, condition, reason and comments is merged into that one instead, with the summed quantity; the response then addresses the surviving position.
If a request with this mutation’s Idempotency-Key was already completed, the response’s extensions contains an idempotency.{responseName} entry with wasReplayed: true.
MUTATION
AddReturnLineItem(request: AddReturnLineItemCommandRequestInput!): AddReturnLineItemCommandResponse!Arguments
request
required
Returns
returnLineItemId
ID!
The ID of the newly added line item.
Mutation
mutation AddReturnLineItem($request: AddReturnLineItemCommandRequestInput!) {
AddReturnLineItem(request: $request) {
returnLineItemId
}
}Variables
{
"request": {
"returnId": "id",
"quantity": "value"
}
}Response
{
"data": {
"AddReturnLineItem": {
"returnLineItemId": "id"
}
}
}Was this page helpful?