# Elenco delle località Amazon per la Merchant API

**API:** Data API

**Endpoint:** `GET /v1/beta/dataforseo/merchant/amazon/locations`

**Tags:** DataForSEO

Le località accettate dagli endpoint Amazon. `location_code` 2840 sono gli Stati Uniti; cerca i codici nella documentazione di DataForSEO invece di scaricare questo elenco. Gratuito a monte: è proprio per questo che nient'altro ti avvisa.

### Riferimento prezzi

- Misurazione: costo della risposta riportato.
- Stima di riferimento per richiesta: USD 0.012.
- Moltiplicatore cliente di riferimento: 1.0. Non applicarlo di nuovo a un importo cliente già addebitato.

Solo metadati di riferimento, non un preventivo dell'account né un prezzo o un limite di spesa garantito. I crediti delle risorse non sono crediti Felo. Gli addebiti finali seguono le registrazioni di fatturazione Felo.

## Base URL

- `https://openapi.felo.ai`

## Authentication

- `FeloBearerAuth` (http bearer, bearer format Felo API Key)
- `FeloApiKey` (apiKey in header `X-API-Key`)

## Responses

### 200 — Operazione riuscita

Headers:
- `X-Request-Id` (string) — Identificatore della richiesta da includere quando contatti l'assistenza Felo.

**application/json**

Schema: object | null

```json
{
  "type": [
    "object",
    "null"
  ],
  "oneOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_MerchantAmazonLocationsResponseInfo"
    }
  ]
}
```

### 400 — Impossibile elaborare la richiesta. Controlla i parametri della richiesta.

### 401 — È richiesta una chiave API Felo valida.

### 402 — Impossibile procedere con la richiesta perché non è soddisfatto un requisito di fatturazione.

### 403 — L'account non è autorizzato a eseguire questa operazione.

### 429 — È stato raggiunto un limite di richieste o di spesa.

### 502 — Il servizio non è riuscito a completare la richiesta.

### 503 — L'API o il servizio di fatturazione è temporaneamente non disponibile.

### 504 — Si è verificato un timeout durante l'elaborazione della richiesta.

### default — Risposta di errore; le risposte passthrough upstream possono usare formati del provider

**application/json**

Schema:

```json
{}
```

## Schema definitions

### Response36Afe1097B20_BaseResponseInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseInfo`

```json
{
  "properties": {
    "version": {
      "type": [
        "string",
        "null"
      ],
      "description": "La versione corrente dell'API"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "codice di stato generale\nl'elenco completo dei codici di risposta è disponibile qui"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "messaggio informativo generale\nl'elenco completo dei messaggi informativi generali è disponibile qui"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "tempo di esecuzione totale, secondi"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "Costo totale delle attività, USD",
      "format": "double"
    },
    "tasks_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Il numero di attività nell'array tasks",
      "format": "int64"
    },
    "tasks_error": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Il numero di attività nell'array tasks restituite con un errore",
      "format": "int64"
    }
  }
}
```

### Response36Afe1097B20_BaseResponseTaskInfo

`#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo`

```json
{
  "properties": {
    "id": {
      "type": [
        "string",
        "null"
      ],
      "description": "identificatore dell'attività\nidentificatore univoco dell'attività nel nostro sistema in formato UUID"
    },
    "status_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "codice di stato dell'attività\ngenerato da DataForSEO, può essere compreso nell'intervallo: 10000-60000\nl'elenco completo dei codici di risposta è disponibile qui"
    },
    "status_message": {
      "type": [
        "string",
        "null"
      ],
      "description": "messaggio informativo dell'attività\nl'elenco completo dei messaggi informativi generali è disponibile qui"
    },
    "time": {
      "type": [
        "string",
        "null"
      ],
      "description": "Tempo di esecuzione in secondi"
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "Costo totale delle attività, USD",
      "format": "double"
    },
    "result_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Numero di elementi nell'array dei risultati",
      "format": "int64"
    },
    "path": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": [
          "string",
          "null"
        ]
      },
      "description": "Percorso URL"
    },
    "data": {
      "type": [
        "object",
        "null"
      ],
      "additionalProperties": {
        "type": [
          "object",
          "null"
        ]
      },
      "description": "Contiene gli stessi parametri specificati nella richiesta POST"
    }
  }
}
```

### Response36Afe1097B20_MerchantAmazonLocationsResponseInfo

`#/components/schemas/Response36Afe1097B20_MerchantAmazonLocationsResponseInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseInfo"
    },
    {
      "type": "object",
      "properties": {
        "tasks": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_MerchantAmazonLocationsTaskInfo"
              }
            ]
          },
          "description": "<em>array di attività</em>"
        }
      }
    }
  ]
}
```

### Response36Afe1097B20_MerchantAmazonLocationsResultInfo

`#/components/schemas/Response36Afe1097B20_MerchantAmazonLocationsResultInfo`

```json
{
  "type": "object",
  "properties": {
    "location_code": {
      "type": [
        "integer",
        "null"
      ],
      "description": "<em>codice della località</em>"
    },
    "location_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>nome completo della località</em>"
    },
    "location_name_parent": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>il nome della località superiore</em><br>esempio:<br><code>\"location_code\": 9041134,<br>\"location_name\": \"90290,California,United States\",<br>\"location_name_parent\": \"California,United States\"</code>"
    },
    "country_iso_code": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>codice paese ISO della località</em>"
    },
    "location_type": {
      "type": [
        "string",
        "null"
      ],
      "description": "<em>tipo di località</em>"
    }
  }
}
```

### Response36Afe1097B20_MerchantAmazonLocationsTaskInfo

`#/components/schemas/Response36Afe1097B20_MerchantAmazonLocationsTaskInfo`

```json
{
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/Response36Afe1097B20_BaseResponseTaskInfo"
    },
    {
      "type": "object",
      "properties": {
        "result": {
          "type": [
            "array",
            "null"
          ],
          "items": {
            "type": [
              "object",
              "null"
            ],
            "oneOf": [
              {
                "$ref": "#/components/schemas/Response36Afe1097B20_MerchantAmazonLocationsResultInfo"
              }
            ]
          },
          "description": "<em>array di risultati</em>"
        }
      }
    }
  ]
}
```
