AI-generated Key Takeaways
-
Retrieves the supported shipping carriers and their services for a specific Merchant Center account.
-
Requires authorization with the
https://www.googleapis.com/auth/content
scope. -
Response includes carrier details such as name, country, supported services, and services eligible for estimated delivery date calculation.
-
The request is made with an HTTP GET to the URL
https://shoppingcontent.googleapis.com/content/v2.1/{merchantId}/supportedCarriers
, replacing{merchantId}
with the account ID. -
The response is a JSON object containing a list of supported carriers, each with details of their services.
- 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 | |
---|---|
merchantId |
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, |
eddServices[] |
A list of services supported for EDD (Estimated Delivery Date) calculation. This is the list of valid values for WarehouseBasedDeliveryTime.carrierService. |