Marking an Order as Not Exported


 

When to Use

  • If a mistake was made in marking an order as exported and need to unmark it as exported.

  • This request needs to be executed one order at a time and cannot be sent in a batch request.

Important Considerations

  • Default export status value is 'false'.
  • Export status is set by each Developer Key and Integration Application ID and can be set and removed at will through the API.
  • The Application ID is unique by the Integration created in the Developer Console, so plan to mark orders as exported and retrieve orders from the same Integration to ensure the goal of avoiding retrieving already imported orders.
  • Export status is not viewable in the system user interface and is not a field on an item through the API
  • To test Export status on orders previously marked as exported=true, place a GET Orders request to retrieve orders without defining a specific Order ID. The orders marked as Exported should not be in the response.
  • Retrieving a specific order ID will always override the status, so this is not a valid way to test if Exported status has been set as coded.

Resource URL / Endpoint

DELETE https://api.channeladvisor.com/v1/Orders(OrderID)/Export

Important and/or Required Parameters

PropertyRequiredNote
OrderIDRequiredInclude in URL. The ChannelAdvisor generated unique identifier for the Order.
Example Request
DELETE https://api.channeladvisor.com/v1/Orders(19918546)/Export?access_token=xxxxxxxxxx
Example Response (Success)
204 No Content