For the complete documentation index, see llms.txt. This page is also available as Markdown.

Order To Shipment

Shipment creation from an order

This endpoint is used to process the orders downloaded from marketplace or e-commerce by Gsped

The call to this endpoint generates the shipment using the address of the order recipient.

Shipment creation from an order

POST https://api.gsped.it/[INSTANCE]/OrderToShipment

Generates a shipment from an order to process it and update the ecommerce/marketplace

Headers

Name
Type
Description

x-api-key*

String

APIKEY given by Gsped

Request Body

Name
Type
Description

client_id*

Int

Client ID Gsped

order_ref*

String

Order reference

packages*

Int

Number of parcels

weight*

Float

Weight of the order

platform

String

Name of the platform that created the order

labelType

Enum

Possible values are: PDF/ZPL Some couriers may have restrinctions

{
  "status": "OK",
  "order_ref": "FC3926207",
  "label_jpg": [
    "base64 label string"
  ],
  "label_pdf": [
    "base64 label string"
  ],
  "label_zpl": [
    "ZPL label string"
  ]
}

Example Snippets

Last updated