Shopify Country API

The Country API from Shopify — 18 operation(s) for country.

Operations 12

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

DELETE /admin/api/2020-01/countries/{country_id}.json Delete a shipping country (2020-01 API) · Shopify Deletes A Country #
Ask an LLM
“How do I remove a country from my store's shipping countries on the 2020-01 API?”
“Can I delete a country I no longer sell to with the 2020-01 version?”
Tell an agent destructive · confirm first
Delete country {country} using the 2020-01 API.
Remove country {country} from the store's country list, version 2020-01.
DELETE /admin/api/2020-04/countries/{country_id}.json Delete a shipping country (2020-04 API) · Shopify Deletes A Country #
Ask an LLM
“Which 2020-04 endpoint deletes a country from the shop?”
“Is deleting a store country supported in the 2020-04 release?”
Tell an agent destructive · confirm first
Remove country {country} on 2020-04.
Drop country {country} from my shop settings via the 2020-04 release.
DELETE /admin/api/2020-07/countries/{country_id}.json Delete a shipping country (2020-07 API) · Shopify Deletes A Country #
Ask an LLM
“Where do I delete a country record in version 2020-07?”
“What happens to its provinces when I remove a store country in 2020-07?”
Tell an agent destructive · confirm first
Delete country {country} through the 2020-07 version.
Erase the country entry {country} with 2020-07.
DELETE /admin/api/2020-10/countries/{country_id}.json Delete a shipping country (2020-10 API) · Shopify Deletes A Country #
Ask an LLM
“How can I stop offering a country by deleting it with the 2020-10 API?”
“Does the 2020-10 Admin API let me delete a country from my store?”
Tell an agent destructive · confirm first
Remove country {country} with the 2020-10 Admin API.
Delete the store country {country}, API version 2020-10.
DELETE /admin/api/2021-01/countries/{country_id}.json Delete a shipping country (2021-01 API) · Shopify Deletes A Country #
Ask an LLM
“Can I delete a country using the 2021-01 release?”
“Which 2021-01 call permanently removes a country from the shop?”
Tell an agent destructive · confirm first
Using 2021-01, delete country {country}.
Take country {country} out of the store on the 2021-01 release.
DELETE /admin/api/unstable/countries/{country_id}.json Delete a shipping country (unstable API) · Shopify Deletes A Country #
Ask an LLM
“Is removing a store country possible on the unstable API version?”
“How would I delete a country against the unstable release?”
Tell an agent destructive · confirm first
Delete country {country} on the unstable API.
On the unstable version, remove country {country} from the shop.
GET /admin/api/2020-01/countries/{country_id}/provinces/{province_id}.json Look up one province of a country (2020-01 API) · Shopify Retrieves A Single Province For A Country #
Ask an LLM
“How do I fetch a single province or state for a country on the 2020-01 API?”
“Can I return only certain fields for a province lookup in 2020-01?”
Tell an agent
Show province {province} of country {country} using the 2020-01 API.
Get only {fields} for province {province} in country {country}, version 2020-01.
GET /admin/api/2020-04/countries/{country_id}/provinces/{province_id}.json Look up one province of a country (2020-04 API) · Shopify Retrieves A Single Province For A Country #
Ask an LLM
“Which 2020-04 call returns one province by ID within a country?”
“What does a single province record contain in the 2020-04 release?”
Tell an agent
Retrieve province {province} for country {country} on 2020-04.
Fetch {fields} of province {province} under country {country} via the 2020-04 release.
GET /admin/api/2020-07/countries/{country_id}/provinces/{province_id}.json Look up one province of a country (2020-07 API) · Shopify Retrieves A Single Province For A Country #
Ask an LLM
“Where do I read one state or province of a store country in version 2020-07?”
“Does 2020-07 support getting a province by its ID?”
Tell an agent
Get province {province} in country {country} through the 2020-07 version.
Look up just {fields} on province {province} of country {country} with 2020-07.
GET /admin/api/2020-10/countries/{country_id}/provinces/{province_id}.json Look up one province of a country (2020-10 API) · Shopify Retrieves A Single Province For A Country #
Ask an LLM
“How can I check the settings for one province in a country using the 2020-10 API?”
“Does the 2020-10 Admin API let me trim a province response to chosen fields?”
Tell an agent
Show me province {province} of country {country} on the 2020-10 API.
Return {fields} for country {country}'s province {province}, API 2020-10.
GET /admin/api/2021-01/countries/{country_id}/provinces/{province_id}.json Look up one province of a country (2021-01 API) · Shopify Retrieves A Single Province For A Country #
Ask an LLM
“Can I retrieve a single province of a country in the 2021-01 release?”
“Which endpoint in 2021-01 gives me one province by ID?”
Tell an agent
Using 2021-01, fetch province {province} of country {country}.
Display {fields} of province {province} in country {country} on the 2021-01 release.
GET /admin/api/unstable/countries/{country_id}/provinces/{province_id}.json Look up one province of a country (unstable API) · Shopify Retrieves A Single Province For A Country #
Ask an LLM
“Is reading a single province available on the unstable API?”
“How would I get one province of a country from the unstable version?”
Tell an agent
Retrieve province {province} of country {country} from the unstable API.
On the unstable version, look up {fields} for province {province} in country {country}.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/shopify-country-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

shopify-country-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Shopify Country API
  description: Explore Shopify's API reference and templating documentation. Shopify provides a range of software tools, app templates, example apps, and libraries to accelerate your development process. The Admin API lets you build apps and integrations that extend and enhance the Shopify admin.
  version: 2020-10
tags:
- name: Country
paths:
  /admin/api/2020-01/countries/{country_id}.json:
    delete:
      summary: Shopify Deletes A Country
      description: https://shopify.dev/docs/admin-api/rest/reference/store-properties/country#destroy-2020-01
      parameters:
      - in: path
        name: country_id
        required: true
        schema:
          type: string
        description: country_id
      tags:
      - Country
      responses:
        '200':
          description: ''
      operationId: deprecated_202001_delete_countries_param_country_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-04/countries/{country_id}.json:
    delete:
      summary: Shopify Deletes A Country
      description: https://shopify.dev/docs/admin-api/rest/reference/store-properties/country#destroy-2020-04
      parameters:
      - in: path
        name: country_id
        required: true
        schema:
          type: string
        description: country_id
      tags:
      - Country
      responses:
        '200':
          description: ''
      operationId: deprecated_202004_delete_countries_param_country_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-07/countries/{country_id}.json:
    delete:
      summary: Shopify Deletes A Country
      description: https://shopify.dev/docs/admin-api/rest/reference/store-properties/country#destroy-2020-07
      parameters:
      - in: path
        name: country_id
        required: true
        schema:
          type: string
        description: country_id
      tags:
      - Country
      responses:
        '200':
          description: ''
      operationId: deprecated_202007_delete_countries_param_country_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-10/countries/{country_id}.json:
    delete:
      summary: Shopify Deletes A Country
      description: https://shopify.dev/docs/admin-api/rest/reference/store-properties/country#destroy-2020-10
      parameters:
      - in: path
        name: country_id
        required: true
        schema:
          type: string
        description: country_id
      tags:
      - Country
      responses:
        '200':
          description: ''
      operationId: delete_countries_param_country_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2021-01/countries/{country_id}.json:
    delete:
      summary: Shopify Deletes A Country
      description: https://shopify.dev/docs/admin-api/rest/reference/store-properties/country#destroy-2021-01
      parameters:
      - in: path
        name: country_id
        required: true
        schema:
          type: string
        description: country_id
      tags:
      - Country
      responses:
        '200':
          description: ''
      operationId: deprecated_202101_delete_countries_param_country_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/unstable/countries/{country_id}.json:
    delete:
      summary: Shopify Deletes A Country
      description: https://shopify.dev/docs/admin-api/rest/reference/store-properties/country#destroy-unstable
      parameters:
      - in: path
        name: country_id
        required: true
        schema:
          type: string
        description: country_id
      tags:
      - Country
      responses:
        '200':
          description: ''
      operationId: deprecated_unstable_delete_countries_param_country_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-01/countries/{country_id}/provinces/{province_id}.json:
    get:
      summary: Shopify Retrieves A Single Province For A Country
      description: https://shopify.dev/docs/admin-api/rest/reference/store-properties/province#show-2020-01
      parameters:
      - in: path
        name: country_id
        required: true
        schema:
          type: string
        description: country_id
      - in: path
        name: province_id
        required: true
        schema:
          type: string
        description: province_id
      - in: query
        name: fields
        description: Show only certain fields, specified by a comma-separated list of field names.
        schema: {}
        required: false
      tags:
      - Country
      responses:
        '200':
          description: ''
      operationId: deprecated_202001_get_countries_param_country_id_provinces_param_province_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-04/countries/{country_id}/provinces/{province_id}.json:
    get:
      summary: Shopify Retrieves A Single Province For A Country
      description: https://shopify.dev/docs/admin-api/rest/reference/store-properties/province#show-2020-04
      parameters:
      - in: path
        name: country_id
        required: true
        schema:
          type: string
        description: country_id
      - in: path
        name: province_id
        required: true
        schema:
          type: string
        description: province_id
      - in: query
        name: fields
        description: Show only certain fields, specified by a comma-separated list of field names.
        schema: {}
        required: false
      tags:
      - Country
      responses:
        '200':
          description: ''
      operationId: deprecated_202004_get_countries_param_country_id_provinces_param_province_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-07/countries/{country_id}/provinces/{province_id}.json:
    get:
      summary: Shopify Retrieves A Single Province For A Country
      description: https://shopify.dev/docs/admin-api/rest/reference/store-properties/province#show-2020-07
      parameters:
      - in: path
        name: country_id
        required: true
        schema:
          type: string
        description: country_id
      - in: path
        name: province_id
        required: true
        schema:
          type: string
        description: province_id
      - in: query
        name: fields
        description: Show only certain fields, specified by a comma-separated list of field names.
        schema: {}
        required: false
      tags:
      - Country
      responses:
        '200':
          description: ''
      operationId: deprecated_202007_get_countries_param_country_id_provinces_param_province_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2020-10/countries/{country_id}/provinces/{province_id}.json:
    get:
      summary: Shopify Retrieves A Single Province For A Country
      description: https://shopify.dev/docs/admin-api/rest/reference/store-properties/province#show-2020-10
      parameters:
      - in: path
        name: country_id
        required: true
        schema:
          type: string
        description: country_id
      - in: path
        name: province_id
        required: true
        schema:
          type: string
        description: province_id
      - in: query
        name: fields
        description: Show only certain fields, specified by a comma-separated list of field names.
        schema: {}
        required: false
      tags:
      - Country
      responses:
        '200':
          description: ''
      operationId: get_countries_param_country_id_provinces_param_province_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/2021-01/countries/{country_id}/provinces/{province_id}.json:
    get:
      summary: Shopify Retrieves A Single Province For A Country
      description: https://shopify.dev/docs/admin-api/rest/reference/store-properties/province#show-2021-01
      parameters:
      - in: path
        name: country_id
        required: true
        schema:
          type: string
        description: country_id
      - in: path
        name: province_id
        required: true
        schema:
          type: string
        description: province_id
      - in: query
        name: fields
        description: Show only certain fields, specified by a comma-separated list of field names.
        schema: {}
        required: false
      tags:
      - Country
      responses:
        '200':
          description: ''
      operationId: deprecated_202101_get_countries_param_country_id_provinces_param_province_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true
  /admin/api/unstable/countries/{country_id}/provinces/{province_id}.json:
    get:
      summary: Shopify Retrieves A Single Province For A Country
      description: https://shopify.dev/docs/admin-api/rest/reference/store-properties/province#show-unstable
      parameters:
      - in: path
        name: country_id
        required: true
        schema:
          type: string
        description: country_id
      - in: path
        name: province_id
        required: true
        schema:
          type: string
        description: province_id
      - in: query
        name: fields
        description: Show only certain fields, specified by a comma-separated list of field names.
        schema: {}
        required: false
      tags:
      - Country
      responses:
        '200':
          description: ''
      operationId: deprecated_unstable_get_countries_param_country_id_provinces_param_province_id
      x-api-evangelist-processing:
        PascalCaseOperationSummaries: true
        ChooseTags: true