AdminPostOrdersOrderClaimsReq
internal.internal.AdminPostOrdersOrderClaimsReq
Schema
AdminPostOrdersOrderClaimsReq type: object required:
- type
- claim_items
properties:
type:
description: "The type of the Claim. This will determine how the Claim is treated:
replace
Claims will result in a Fulfillment with new items being created, while arefund
Claim will refund the amount paid for the claimed items." type: string enum: claim_items: description: The Claim Items that the Claim will consist of. type: array items: type: object required:return_shipping: description: Optional details for the Return Shipping Method, if the items are to be sent back. Providing this field will result in a return being created and associated with the claim. type: object properties: option_id: type: string description: The ID of the Shipping Option to create the Shipping Method from. price: type: integer description: The price to charge for the Shipping Method. additional_items: description: The new items to send to the Customer. This is only used if the claim's type is- item_id
- quantity
properties:
item_id:
description: The ID of the Line Item that will be claimed.
type: string
quantity:
description: The number of items that will be returned
type: integer
note:
description: Short text describing the Claim Item in further detail.
type: string
reason:
description: The reason for the Claim
type: string
enum:
- missing_item
- wrong_item
- production_failure
- other
tags:
description: A list of tags to add to the Claim Item
type: array
items:
type: string
images:
description: A list of image URL's that will be associated with the Claim
items:
type: stringreplace
. type: array items: type: object required:shipping_methods: description: The Shipping Methods to send the additional Line Items with. This is only used if the claim's type isreplace
An optional shipping address to send the claimed items to. If not provided, the parent order's shipping address will be used.refund
Learn about the metadata attribute, and how to delete and update it.
Properties
additional_items
AdditionalItem[]metadata
Record<string, unknown>no_notification
booleanrefund_amount
numberreturn_location_id
stringreturn_shipping
ReturnShippingshipping_address
AddressPayloadshipping_methods
ShippingMethod[]type
"refund" | "replace"RequiredWas this section helpful?