Skip to main content

api/labels

Less than 1 minute

api/labels

Description

Requeue a shipment for printing..

Request

  • Method: POST
  • Content Type: application/json
  • URL: https://api.gosweetspot.com/api/labels

Headers

  • access_key : your unqiue api key provided by GSS.
  • site_id : which site you are requesting action for.

Parameters

ParameterTypeDescription
connotestringConsignment number to be printed.
printtoprinterstringOptional, 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.

Request example

curl --location --request POST 'https://api.gosweetspot.com/api/labels?connote=ABC123' \
--header 'access_key;' \
--header 'site_id;' \
--header 'Content-Type: application/json'

Response example

Print job sent
Last update: