ReturnOrder Class
Process ReturnOrders in Order Management, limited to 2,000 requests per hour.
These methods are for ReturnOrder. All methods are static.
-
createReturnOrder(returnOrderInput)
Create a ReturnOrder and ReturnOrderLineItems for items belonging to an OrderSummary.
-
returnItems(returnOrderId, returnItemsInput)
Process ReturnOrderLineItems belonging to a ReturnOrder. Processing a ReturnOrderLineItem generates a change Order and makes that ReturnOrderLineItem read-only. The change order for a returned item or delivery charge has a positive amount and should be used to create a credit memo. The change order for a return fee has a negative amount and should be used to create an invoice. If a processed ReturnOrderLineItem has any remaining expected quantity, then the API creates a separate ReturnOrderLineItem representing that quantity.
Create a ReturnOrder and ReturnOrderLineItems for items belonging to an OrderSummary.
50.0
No
public static ConnectApi.ReturnOrderOutputRepresentation createReturnOrder(ConnectApi.ReturnOrderInputRepresentation returnOrderInput)
- returnOrderInput
Type:
ConnectApi.ReturnOrderInputRepresentationData for creating a ReturnOrder and ReturnOrderLineItems.
Type: ConnectApi.ReturnOrderOutputRepresentation
See Also
Process ReturnOrderLineItems belonging to a ReturnOrder. Processing a ReturnOrderLineItem generates a change Order and makes that ReturnOrderLineItem read-only. The change order for a returned item or delivery charge has a positive amount and should be used to create a credit memo. The change order for a return fee has a negative amount and should be used to create an invoice. If a processed ReturnOrderLineItem has any remaining expected quantity, then the API creates a separate ReturnOrderLineItem representing that quantity.
52.0
No
public static ConnectApi.ReturnItemsOutputRepresentation returnItems(String returnOrderId, ConnectApi.ReturnItemsInputRepresentation returnItemsInput)
- returnOrderId
Type: String
ID of the ReturnOrder.
- returnItemsInput
Type:
ConnectApi.ReturnItemsInputRepresentationData about products and delivery charges to return, as well as associated return fees.
Type: ConnectApi.ReturnItemsOutputRepresentation
See Also