INPUT_OBJECT
RefundRequestLineItemInput
Line item on a refund request.
Either a line item ID (which must be a line item from the invoice to which this refund request is related) and a reason OR both custom and amountPerItem must be supplied.
If you supply a line item ID you must supply a reason and cannot supply custom or amountPerItem. You should also supply the dispatched flag: In January 2022 you will be required to supply the dispatched flag in this case.
If you supply custom and amountPerItem then you cannot supply a line item ID, reason or dispatched flag.
link GraphQL Schema definition
- input RefundRequestLineItemInput {
- # ID of the invoice line item to which this refund request line item refers.
- ID :
- # Custom line item (e.g. return postage refund) description.
- String :
- # Amount per item to be refunded. Denominated in cents.
- Int :
- # Reason the refund is being requested for this line item.
- String :
- # Quantity of the item for which a refund is being requested.
- Int! :
- # True if this line item only changes the amount to reclaim from the retailer
- # (remittance). Only a marketplace operator can supply this field.
- Boolean :
- # This determines if the line item is a cancellation (not yet shipped) or a
- # return. For a cancellation, mark this as false; For a return, mark this as true
- Boolean :
- # Notes to create.
- RefundRequestNoteInput!] : [
- # The status to start the refund request line item in.
- RefundRequestLineItemCreateStatusEnum :
- # IDs used by external systems to fetch Prototypes
- KeyValueInput!] : [
- # Metadata key/value pairs
- KeyValueInput!] : [
- }