ClaimOrder
A Claim represents a group of faulty or missing items. It consists of claim items that refer to items in the original order that should be replaced or refunded. It also includes details related to shipping and fulfillment.
Constructors
constructor
**new ClaimOrder**()
A Claim represents a group of faulty or missing items. It consists of claim items that refer to items in the original order that should be replaced or refunded. It also includes details related to shipping and fulfillment.
Properties
The details of the new items to be shipped when the claim's type is
replacecanceled_atDateRequiredThe date with timezone at which the claim was canceled.
The details of the items that should be replaced or refunded.
created_atDateRequiredThe date with timezone at which the resource was created.
deleted_atDateRequiredThe date with timezone at which the resource was deleted.
The claim's fulfillment status
Default: not_fulfilled
The fulfillments of the new items to be shipped
idstringRequiredThe claim's ID
idempotency_keystringRequiredRandomly generated key used to continue the completion of the cart associated with the claim in case of failure.
metadataRecord<string, unknown>RequiredAn optional key-value map with additional details
no_notificationbooleanRequiredFlag for describing whether or not notifications related to this should be send.
The details of the order that this claim was created for.
order_idstringRequiredThe ID of the order that the claim comes from.
The status of the claim's payment
Default: na
refund_amountnumberRequiredThe amount that will be refunded in conjunction with the claim
The details of the return associated with the claim if the claim's type is
replace.The details of the address that new items should be shipped to.
shipping_address_idstringRequiredThe ID of the address that the new items should be shipped to
The details of the shipping methods that the claim order will be shipped with.
The claim's type
updated_atDateRequiredThe date with timezone at which the resource was updated.
Methods
beforeInsert
Private **beforeInsert**(): void
Returns
void
voidvoidWas this section helpful?