Orders
Order upload on Gsped
This endpoint is used to load the orders and their details on Gsped. It processes the orders via API or web interface and, consequently, generates the the shipment labels.
This endpoint is very useful if there are multiple points of order processing that use the Gsped web interface and it is not possible to activate a specific connector for the download of the orders.
Retrieve an order with details
GET
https://api.gsped.it/[INSTANCE]/Orders/[ORDER_ID]
Retrieve an order with its details from Gsped
Headers
Name | Type | Description |
---|---|---|
x-api-key* | String | APIKEY given by Gsped |
Snippets example code
Order uploading and details
POST
https://api.gsped.it/[INSTANCE]/Orders
To upload the orders and their details on Gsped
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 |
name* | String | Recipient name |
address* | String | Recipient address |
city* | String | Recipient city |
zip* | String | Recipient zipcode |
province* | String | Province and Country |
country* | String | Country code iso 2 char |
email* | String | Recipient e-mail address |
phone* | String | Phone number |
cod | Float | Value of the stamp |
insurance | Float | Amount of the insurance |
notes | String | Order notes |
warehouse | String | Warehouse |
rows.description | String | Order details description |
rows.sku | String | SKU details |
rows.qty | Int | Details quantity |
invoice_date | String | Order's invoice date |
invoice_number | String | Order's invoice number |
rows.country_of_origin | String | Country code iso 2 char of the origin of the goods |
rows.hs_code | String | Row hs code |
Snippets example code
Update an order with details
PATCH
https://api.gsped.it/[INSTANCE]/Orders/[ORDER_ID]
Update an existing order with its details on Gsped
Headers
Name | Type | Description |
---|---|---|
x-api-key* | String | APIKEY given by Gsped |
Request Body
Name | Type | Description |
---|---|---|
client_id* | String | Client ID Gsped |
cod | Float | Value of the stamp |
phone* | String | Phone number |
email* | String | Recipient e-mail address |
country* | String | Country code iso 2 char |
province* | String | Province and Country |
zip* | String | Recipient zipcode |
city* | String | Recipient city |
address* | String | Recipient address |
name* | String | Recipient name |
order_ref* | String | Order reference |
rows.description | String | Order details description |
warehouse | String | Warehouse |
notes | String | Order notes |
invoice_number | String | Order's invoice number |
invoice_date | String | Order's invoice date |
insurance | Float | Amount of the insurance |
rows.sku | String | SKU details |
rows.qty | Int | Details quantity |
rows.country_of_origin | String | Country code iso 2 char of the origin of the goods |
rows.hs_code | String | Row hs code |
Last updated