- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- CarriersCarrier
- Try it!
Retrieves supported carriers and carrier services for an account.
HTTP request
GET https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/supportedCarriers
Path parameters
Parameters | |
---|---|
merchant |
The ID of the account for which to retrieve the supported carriers. |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"kind": string,
"carriers": [
{
object ( |
Fields | |
---|---|
kind |
Identifies what kind of resource this is. Value: the fixed string " |
carriers[] |
A list of supported carriers. May be empty. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/content
For more information, see the OAuth 2.0 Overview.
CarriersCarrier
JSON representation |
---|
{ "name": string, "country": string, "services": [ string ], "eddServices": [ string ] } |
Fields | |
---|---|
name |
The name of the carrier (for example, |
country |
The CLDR country code of the carrier (for example, "US"). Always present. |
services[] |
A list of supported services (for example, |
edd |
A list of services supported for EDD (Estimated Delivery Date) calculation. This is the list of valid values for WarehouseBasedDeliveryTime.carrierService. |