Wydrukuj załączniki zamówienia
POST
/api/v3/Orders/Print
const url = 'https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/Orders/Print';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"orderId":1,"uri":"example","connectionId":1,"printerId":1}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://twoja-instancja-smerp-api.enterprise.sellrocket.pl/api/v3/Orders/Print \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "orderId": 1, "uri": "example", "connectionId": 1, "printerId": 1 }'Wysyła załączniki zamówień do drukarki skonfigurowanej w Sellrocket.
Autoryzacja
Dział zatytułowany „Autoryzacja”Treść żądania
Dział zatytułowany „Treść żądania”object
orderId
integer format: int64
uri
string
connectionId
integer format: int64
printerId
integer format: int64
Examplegenerated
{ "orderId": 1, "uri": "example", "connectionId": 1, "printerId": 1}object
orderId
integer format: int64
uri
string
connectionId
integer format: int64
printerId
integer format: int64
Examplegenerated
{ "orderId": 1, "uri": "example", "connectionId": 1, "printerId": 1}object
orderId
integer format: int64
uri
string
connectionId
integer format: int64
printerId
integer format: int64
Examplegenerated
{ "orderId": 1, "uri": "example", "connectionId": 1, "printerId": 1}object
orderId
integer format: int64
uri
string
connectionId
integer format: int64
printerId
integer format: int64
object
orderId
integer format: int64
uri
string
connectionId
integer format: int64
printerId
integer format: int64
object
orderId
integer format: int64
uri
string
connectionId
integer format: int64
printerId
integer format: int64
Odpowiedzi
Dział zatytułowany „Odpowiedzi”Success

