API/GET/externalSaleStatus/:sellIdentifier
GET {{apiURL}}/API/GET/externalSaleStatus/:sellIdentifier?token={{apiToken}}
Endpoint che, data una combinazione di storeId (ottenuto in seguito all'autenticazione dello user che effettua la chiamata all'endpoint) e di sellIdentifier (identificativo della vendita) ritorna lo stato della vendita trovata
@return {Object} obj
@return {String} obj.status: se la vendita risulta essere conclusa, questo valore sarà OK
, altrimenti WAITING
@throws {Boom} .notFound: richiesta esterna di scarico non trovato qualora non ci dovessero essere riscontri in db per la combinazione di store (identificato dal token) e sellIdentifier
Request Params
| Key | Datatype | Required | Description | 
|---|---|---|---|
| token | string | Auth Token | 
HEADERS
| Key | Datatype | Required | Description | 
|---|---|---|---|
| Content-Type | string | 
RESPONSES
status: OK
{"status":"WAITING"}