API version: unstable
API version: 2021-01 Release candidate
API version: 2020-10 Latest
API version: 2020-07
API version: 2020-04
API version: 2020-01
API version: 2019-10 Unsupported
API version: 2019-07 Unsupported

RefundLineItemInput input object

Version unstable

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 2021-01 (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-10 (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-07

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 (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-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.