The provided form information is not valid, check that the provided data is valid. You can use the 'invalidFields' field to get the list of invalid fields or just use the 'message' field.
401
You are not authorized, check your API key and try again.
403
You are not authorized to access this endpoint, you may be missing an API key scope or be requesting a privileged endpoint.
404
One of the objects referenced by the ID given in the URL or form was not found, check the ID and try again.
get
GET /stores/{storeId}/orders/{orderId} HTTP/1.1
Host: api.sellsn.io
Authorization: Bearer JWT
Accept: */*
Gets all the orders associated with a store and returns them as a paginated response, there is no way to get all
orders in one response. Requires the Scopes.ViewOrders permission
Authorizations
Path parameters
storeIdstring · uuidRequired
The ID of the store to get the orders for
pageinteger · int32Required
The page to select when viewing the orders
Query parameters
countinteger · int32Optional
The amount of orders to display in one page
Responses
200
The object was successfully returned.
400
The provided form information is not valid, check that the provided data is valid. You can use the 'invalidFields' field to get the list of invalid fields or just use the 'message' field.
401
You are not authorized, check your API key and try again.
403
You are not authorized to access this endpoint, you may be missing an API key scope or be requesting a privileged endpoint.
404
One of the objects referenced by the ID given in the URL or form was not found, check the ID and try again.
get
GET /stores/{storeId}/orders/{page} HTTP/1.1
Host: api.sellsn.io
Authorization: Bearer JWT
Accept: */*
Creates a new order and returns all the data. Requires the Scopes.CreateOrders permission
Authorizations
Path parameters
storeIdstring · uuidRequired
The ID of the store to create the order for
Responses
200
The object was successfully returned.
400
The provided form information is not valid, check that the provided data is valid. You can use the 'invalidFields' field to get the list of invalid fields or just use the 'message' field.
401
You are not authorized, check your API key and try again.
403
You are not authorized to access this endpoint, you may be missing an API key scope or be requesting a privileged endpoint.
404
One of the objects referenced by the ID given in the URL or form was not found, check the ID and try again.
post
POST /stores/{storeId}/orders HTTP/1.1
Host: api.sellsn.io
Authorization: Bearer JWT
Accept: */*
Delivers the given order manually as if the customer purchased it through regular means, requires the
Scopes.DeliverOrders permission. This will not do anything if the order has already been delivered
Authorizations
Path parameters
storeIdstring · uuidRequired
The ID of the store the order belongs to
orderIdstring · uuidRequired
The ID of the order to deliver
Responses
200
The operation was successfully completed.
401
You are not authorized, check your API key and try again.
403
You are not authorized to access this endpoint, you may be missing an API key scope or be requesting a privileged endpoint.
404
One of the objects referenced by the ID given in the URL or form was not found, check the ID and try again.
put
PUT /stores/{storeId}/orders/{orderId}/deliver HTTP/1.1
Host: api.sellsn.io
Authorization: Bearer JWT
Accept: */*
The query to search when looking for orders, you can use an exact ID and get the first element to
find an order by the ID and search by customer email address
Responses
200
The object was successfully returned.
400
The provided form information is not valid, check that the provided data is valid. You can use the 'invalidFields' field to get the list of invalid fields or just use the 'message' field.
401
You are not authorized, check your API key and try again.
403
You are not authorized to access this endpoint, you may be missing an API key scope or be requesting a privileged endpoint.
404
One of the objects referenced by the ID given in the URL or form was not found, check the ID and try again.
get
GET /stores/{storeId}/orders/{page}/search/{query} HTTP/1.1
Host: api.sellsn.io
Authorization: Bearer JWT
Accept: */*