RefundLineItemInput

Version 2019-04

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

Show definition
"""
Specifies the fields required to return line items on a refund.
"""
input RefundLineItemInput {
  """
  The ID of the line item in the refund.
  """
  lineItemId: ID!
  """
  The intended location for restocking if `refundType` is not `NO_RESTOCK`
  """
  locationId: ID
  """
  The quantity of the associated line item that was returned.
  """
  quantity: Int!
  """
  The type of restock for this line item.
  """
  restockType: RefundLineItemRestockType
}

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 (Latest)

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

Show definition
"""
Specifies the fields required to return line items on a refund.
"""
input RefundLineItemInput {
  """
  The ID of the line item in the refund.
  """
  lineItemId: ID!
  """
  The intended location for restocking if refundType is not NO_RESTOCK
  """
  locationId: ID
  """
  The quantity of the associated line item that was returned.
  """
  quantity: Int!
  """
  The type of restock for this line item.
  """
  restockType: RefundLineItemRestockType
}

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 (Release candidate)

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

Show definition
"""
Specifies the fields required to return line items on a refund.
"""
input RefundLineItemInput {
  """
  The ID of the line item in the refund.
  """
  lineItemId: ID!
  """
  The intended location for restocking if refundType is not NO_RESTOCK
  """
  locationId: ID
  """
  The quantity of the associated line item that was returned.
  """
  quantity: Int!
  """
  The type of restock for this line item.
  """
  restockType: RefundLineItemRestockType
}

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.

Sign up for a Partner account to get started.

Sign up