Method: shippingsettings.getsupportedpickupservices

Retrieves supported pickup services for an account.

HTTP request

GET https://www.googleapis.com/content/v2.1/{merchantId}/supportedPickupServices

Path parameters

Parameters
merchantId

string

The ID of the account for which to retrieve the supported pickup services.

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,
  "pickupServices": [
    {
      object (PickupServicesPickupService)
    }
  ]
}
Fields
kind

string

Identifies what kind of resource this is. Value: the fixed string

"content#shippingsettingsGetSupportedPickupServicesResponse"

.

pickupServices[]

object (PickupServicesPickupService)

A list of supported pickup services. May be empty.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/content
  • https://www.googleapis.com/auth/structuredcontent

For more information, see the OAuth 2.0 Overview.

PickupServicesPickupService

JSON representation
{
  "country": string,
  "carrierName": string,
  "serviceName": string
}
Fields
country

string

The CLDR country code of the carrier (e.g., "US"). Always present.

carrierName

string

The name of the carrier (e.g., "UPS"). Always present.

serviceName

string

The name of the pickup service (e.g., "Access point"). Always present.

Try it!