To generate a label, the Shipstation integration requires a proper shipping method and carrier setup if the you prefer to fetch labels directly.
To create a new Shipping method, you have to open the Shipping Methods tab and create a new shipping method by clicking on the orange "PLUS" button in the bottom right corner of the screen.
To create a new shipping method, the following fields are to be filled in:
Name. Can be any, but recommended to have a clear name to define your shipping method. Mandatory field.
Carrier.
The field is used to map a carrier code.
Please use the endpoint https://ssapi.shipstation.com/carriers/ to fetch your carrier codes and create them in PULPO accordingly.
Example:
A part of the response will look like the one below:[
{ "name": "UPS",
"code": "ups",
"accountNumber": "1234AB",
"requiresFundedAccount": false,
"balance": 0,
"nickname": "Company UPS - Some Account",
"shippingProviderId": 123456,
"primary": true }
]
Service
To receive a list of service codes for the selected carrier, please use the following endpoint: https://ssapi.shipstation.com/carriers/listservices?carrierCode=YOUR_CARRIER_CODE
Your carrier code is the value in the "code" field from i.2.
Example:
For the carrier UPS with the code "ups" received in i.2., the endpoint will be https://ssapi.shipstation.com/carriers/listservices?carrierCode=ups
A part of the response will look like the one below:
[
{ "carrierCode": "ups",
"code": "ups_ground",
"name": "UPS Ground®",
"domestic": true,
"international": false },
]The "Fetch shipping labels" checkbox is used to determine if the labels for the chosen shipping method are to be generated.
Below is an example of a properly set up shipping method for the carrier UPS and its service UPS Ground.
The shipping method for each carrier and service you are using must be created in PULPO WMS to fetch the shipping labels if you prefer to fetch labels directly.