/accounts/{accountId}/shippingModules
Get a list of ShippingModules for your account.
| Name | In | Default | Constraints | Description | |
|---|---|---|---|---|---|
x-auth-token |
header | The authentication token | |||
accountId |
required | path | int | the unique identifier of the account | |
filterId |
query | |
optional saved Filter ID; empty string for all | ||
page |
query | 0 |
int | zero-based page index | |
size |
query | 10 |
int | number of items per page |
<pagedData>
<records>...</records>
<totalElements>...</totalElements>
</pagedData>
{
"pagedData" : {
"records" : [ { }, { } ],
"totalElements" : 12345
}
}
/accounts/{accountId}/shippingModules/{moduleId}
Get shipping module resource by ID.
| Name | In | Default | Constraints | Description | |
|---|---|---|---|---|---|
x-auth-token |
header | The authentication token | |||
accountId |
required | path | int | the unique identifier of the account | |
moduleId |
required | path | int | the unique identifier of the shipping module |
| Media Type | Data Type | Description |
|---|---|---|
application/json |
ShippingModule | |
application/xml |
ShippingModule |
<shippingModule>
<id>...</id>
<version>...</version>
<name>My DPD Integration</name>
<apiUser>...</apiUser>
<apiKey>...</apiKey>
<deleted>...</deleted>
<moduleType>
<id>...</id>
<name>SPOD</name>
</moduleType>
</shippingModule>
{
"shippingModule" : {
"id" : 12345,
"version" : 12345,
"name" : "My DPD Integration",
"apiUser" : "...",
"apiKey" : "...",
"deleted" : true,
"moduleType" : {
"id" : 12345,
"name" : "SPOD"
}
}
}
/accounts/{accountId}/shippingModules/{moduleId}/providers
Get a list of Shipping Providers for a Shipping Module.
| Name | In | Default | Constraints | Description | |
|---|---|---|---|---|---|
x-auth-token |
header | The authentication token | |||
accountId |
required | path | int | the unique identifier of the account | |
moduleId |
required | path | int | the unique identifier of the shipping module | |
filterId |
query | |
optional saved Filter ID; empty string for all | ||
page |
query | 0 |
int | zero-based page index | |
size |
query | 10 |
int | number of items per page |
<pagedData>
<records>...</records>
<totalElements>...</totalElements>
</pagedData>
{
"pagedData" : {
"records" : [ { }, { } ],
"totalElements" : 12345
}
}