AdminPostOrdersOrderSwapsReq
internal.internal.AdminPostOrdersOrderSwapsReq
Schema
AdminPostOrdersOrderSwapsReq type: object required:
- return_items
properties:
return_items:
description: The Line Items to associate with the swap's return.
type: array
items:
type: object
required:return_shipping: description: The shipping method associated with the swap's return. type: object required:
- item_id
- quantity
properties:
item_id:
description: The ID of the Line Item that will be returned.
type: string
quantity:
description: The number of items that will be returned
type: integer
reason_id:
description: The ID of the Return Reason to use.
type: string
note:
description: An optional note with information about the Return.
type: stringadditional_items: description: The new items to send to the Customer. type: array items: type: object required:custom_shipping_options: description: An array of custom shipping options to potentially create a Shipping Method from to send the additional items. type: array items: type: object required:no_notification: description: If set totrue
, no notification will be sent to the customer related to this Swap. type: boolean allow_backorder: description: If set totrue
, swaps can be completed with items out of stock type: boolean default: true
Properties
additional_items
AdditionalItem[]allow_backorder
booleancustom_shipping_options
CustomShippingOption[]no_notification
booleanreturn_location_id
stringreturn_shipping
ReturnShippingsales_channel_id
stringWas this section helpful?