RefundLineItemInput input object

Version 2020-10 (Release candidate)

Specifies the fields required to return line items on a refund.

Input fields

lineItemId (ID!) Required

The ID of the line item in the refund.

locationId (ID)

The intended location for restocking if refundType is not NO_RESTOCK

quantity (Int!) Required

The quantity of the associated line item that was returned.

restockType (RefundLineItemRestockType)

The type of restock for this line item.

Version 2020-07 (Latest)

Specifies the fields required to return line items on a refund.

Input fields

lineItemId (ID!) Required

The ID of the line item in the refund.

locationId (ID)

The intended location for restocking if refundType is not NO_RESTOCK

quantity (Int!) Required

The quantity of the associated line item that was returned.

restockType (RefundLineItemRestockType)

The type of restock for this line item.

Version 2020-04

Specifies the fields required to return line items on a refund.

Input fields

lineItemId (ID!) Required

The ID of the line item in the refund.

locationId (ID)

The intended location for restocking if refundType is not NO_RESTOCK

quantity (Int!) Required

The quantity of the associated line item that was returned.

restockType (RefundLineItemRestockType)

The type of restock for this line item.

Version 2020-01

Specifies the fields required to return line items on a refund.

Input fields

lineItemId (ID!) Required

The ID of the line item in the refund.

locationId (ID)

The intended location for restocking if refundType is not NO_RESTOCK

quantity (Int!) Required

The quantity of the associated line item that was returned.

restockType (RefundLineItemRestockType)

The type of restock for this line item.

Version 2019-10

Specifies the fields required to return line items on a refund.

Input fields

lineItemId (ID!) Required

The ID of the line item in the refund.

locationId (ID)

The intended location for restocking if refundType is not NO_RESTOCK

quantity (Int!) Required

The quantity of the associated line item that was returned.

restockType (RefundLineItemRestockType)

The type of restock for this line item.

Version 2019-07 (Unsupported)

Specifies the fields required to return line items on a refund.

Input fields

lineItemId (ID!) Required

The ID of the line item in the refund.

locationId (ID)

The intended location for restocking if refundType is not NO_RESTOCK

quantity (Int!) Required

The quantity of the associated line item that was returned.

restockType (RefundLineItemRestockType)

The type of restock for this line item.

Version 2019-04 (Unsupported)

Specifies the fields required to return line items on a refund.

Input fields

lineItemId (ID!) Required

The ID of the line item in the refund.

locationId (ID)

The intended location for restocking if refundType is not NO_RESTOCK

quantity (Int!) Required

The quantity of the associated line item that was returned.

restockType (RefundLineItemRestockType)

The type of restock for this line item.