Cart.com Regions API

The Regions API from Cart.com — 2 operation(s) for regions.

Operations 4

GET /regions Get Regions #
POST /regions Create a Region #
PUT /regions/{id} Update a Region #
DELETE /regions/{id} Delete a Region #

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/cart-com-regions-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

cart-com-regions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Online Store Regions API
  version: '1.0'
  description: Online Store API
servers:
- url: https://www.yoursite.com/api/v1
  description: ''
security:
- X-AC-Auth-Token: []
tags:
- name: Regions
paths:
  /regions:
    get:
      summary: Get Regions
      tags:
      - Regions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  total_count:
                    type: integer
                  regions:
                    type: array
                    items:
                      $ref: '#/components/schemas/regions'
      operationId: get-regions
      description: Gets an array of regions.
    post:
      summary: Create a Region
      operationId: post-regions
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/regions'
      tags:
      - Regions
      description: Creates a region.
      requestBody:
        content:
          application/json:
            schema:
              description: ''
              type: object
              x-examples:
                example-1:
                  postal_codes: []
                  name: OCONUS
                  states:
                  - Alaska
                  - Hawaii
                  countries: []
                  markup_type: Percent
                  markup_amount: 5
                  sort_order: 1
                  region_type: ZipcodeState
                  postal_code_country: null
                  is_shipping_region: true
                  is_tax_region: false
              properties:
                postal_codes:
                  type: array
                  items:
                    type: object
                name:
                  type: string
                states:
                  type: array
                  items:
                    type: object
                countries:
                  type: array
                  items:
                    type: object
                markup_type:
                  type: string
                  description: The default is `Percent`
                markup_amount:
                  type: number
                sort_order:
                  type: integer
                region_type:
                  type: string
                postal_code_country:
                  type: string
                is_shipping_region:
                  type: boolean
                is_tax_region:
                  type: boolean
              required:
              - markup_amount
              - sort_order
            examples:
              Example:
                value:
                  postal_codes: []
                  name: OCONUS
                  states:
                  - Alaska
                  - Hawaii
                  countries: []
                  markup_type: Percent
                  markup_amount: 5
                  sort_order: 1
                  updated_at: '2021-10-07T12:58:11.533-05:00'
                  created_at: '2021-10-07T12:58:11.533-05:00'
                  region_type: ZipcodeState
                  postal_code_country: ''
                  is_shipping_region: true
                  is_tax_region: false
        description: ''
  /regions/{id}:
    parameters:
    - schema:
        type: string
      name: id
      in: path
      required: true
      description: The ID of the `region`
    put:
      summary: Update a Region
      operationId: put-regions-id
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/regions'
      tags:
      - Regions
      description: Updates a region.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/regions'
    delete:
      summary: Delete a Region
      operationId: delete-regions-id
      responses:
        '200':
          description: OK
        '404':
          $ref: '#/components/responses/404'
      tags:
      - Regions
      description: Deletes a region.
components:
  responses:
    '404':
      description: Resource Not Found
      content:
        application/json:
          schema:
            description: Not Found
            type: object
            x-examples:
              example-1:
                status_code: 404
                message: Not Found
                details: No resource found
            properties:
              status_code:
                type: number
              message:
                type: string
              details:
                type: string
          examples: {}
      headers: {}
  schemas:
    regions:
      description: ''
      type: object
      x-examples:
        example-1:
          id: 14
          postal_codes: []
          name: OCONUS
          states:
          - Alaska
          - Hawaii
          countries: []
          markup_type: Percent
          markup_amount: 5
          sort_order: 1
          updated_at: '2021-10-07T12:58:11.533-05:00'
          created_at: '2021-10-07T12:58:11.533-05:00'
          region_type: ZipcodeState
          postal_code_country: null
          is_shipping_region: true
          is_tax_region: false
      properties:
        id:
          type: integer
        postal_codes:
          type: array
          items:
            type: object
        name:
          type: string
        states:
          type: array
          items: {}
        countries:
          type: array
          items: {}
        markup_type:
          type: string
        markup_amount:
          type: number
        sort_order:
          type: integer
        updated_at:
          type: string
        created_at:
          type: string
        region_type:
          type: string
        postal_code_country:
          type: string
        is_shipping_region:
          type: boolean
        is_tax_region:
          type: boolean
      required:
      - id
  securitySchemes:
    X-AC-Auth-Token:
      name: X-AC-Auth-Token
      type: apiKey
      in: header