Use your own carrier account
Follow this guide to add your APG account to Shippo. After adding your account, Shippo can use your account details for generating shipping rates and creating labels. This step requires you to have your APG account id and password. This step should only be completed once. When you have created your carrier account, you can use the carrierobject_id to reference your carrier.
HTTP Method
POSTURL
Request Payload
| Parameter | Description |
|---|---|
| carrier* | apg |
| account_id* | A unique identifier for the account which cannot be changed later. Used only for internal purposes. This should be a username provided by APG |
| parameters* | parameters is an array of additional parameters for the account, such as password or token. Check APG parameters for more details |
| active | Set to true to enable account. Set to false to disable account. |
| test | Set to true if you want to set the account in test mode. Using test mode you can generate test labels without incurring a charge |
APG Account Parameters
| Parameter | Description |
|---|---|
| account_id* | Key to access the API. A string value APG assigns to each client. |
| password* | Key to access the API. A string value APG assigns to each client. |
| sender_code | Code assigned by APG to to each client. Example: “sti.us.client” |
Response Code
201Example
Request Sample
cURL
Response Sample
object_id for your carrier, proceed to Step 2: Create shipment.