Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 805 Bytes

post.md

File metadata and controls

49 lines (31 loc) · 805 Bytes

Labels

POST api/labels

Description

Requeues the shipment for printing.


Requires authentication

  • A valid access Key must be provided in access_key request header.

Parameters

  • connote - consignment number to be printed
  • printtoprinter - optional - if supplied the access_key profile printer is used

Return format

A string text of response message.


Errors

Error messages will range in the below

  • Not a valid consignment number
  • Print job sent
  • Print job queued
  • API Key not associated with a valid printer

Example

Request

https://api.gosweetspot.com/api/labels?connote=ABC123

Headers

access_key: [access_key_for_site_account]
Content-Type: application/json; charset=utf-8

Response

Print job sent