Shippingsettings: getsupportedcarriers

Requires authorization

Retrieves supported carriers and carrier services for an account. Try it now.

Request

HTTP request

GET https://www.googleapis.com/content/v2/merchantId/supportedCarriers

Parameters

Parameter name Value Description
Path parameters
merchantId unsigned long The ID of the account for which to retrieve the supported carriers.

Authorization

This request requires authorization with the following scope (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/content

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a response body with the following structure:

{
  "kind": "content#shippingsettingsGetSupportedCarriersResponse",
  "carriers": [
    {
      "name": string,
      "country": string,
      "services": [
        string
      ]
    }
  ]
}
Property name Value Description Notes
kind string Identifies what kind of resource this is. Value: the fixed string "content#shippingsettingsGetSupportedCarriersResponse".
carriers[] list A list of supported carriers. May be empty.
carriers[].name string The name of the carrier (e.g., "UPS"). Always present.
carriers[].country string The CLDR country code of the carrier (e.g., "US"). Always present.
carriers[].services[] list A list of supported services (e.g., "ground") for that carrier. Contains at least one service.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.

Send feedback about...

Content API for Shopping