Get Order Snapshot

Overview

This endpoint can be used to get the order snapshot.

In order to consume the endpoint, you must:

  • Be authenticated user

For information on how you can authenticate, see: Authentication

As soon as you do authentication and receive a valid token, it needs to be passed to the call.

Endpoint

An example of such an endpoint for XX server is https://xx.api.sellercloud.com/rest/api/Orders/{id}/Snapshot

For your server endpoint will be:

https://{your_server_id}.api.sellercloud.com/rest/api/Orders/{id}/Snapshot

Request

Method Type: HttpGet

Authorization: Use Bearer Token + token received from token authentication

Response

  • If the user is authenticated and the request is successful, then the response will be Status Code 200 => OK with the order snapshot in the response. If the order does not have a snapshot then null will be returned for “OrderSnapshot” property.
  • If the user is not authenticated, then the response will be Status Code 401 => Not Valid Token
  • In case of an error, the response will be Status Code 500 => Internal Server Error
  • In case of an incorrect request, the response will be with status code 400 Bad Request

Response Body

 

Was this article helpful?

Next
Get Purchase Orders By View