> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get one store

> Returns a store by ID or domain with its current status, including closed and password-protected stores. A found store counts once per billing period. A miss is free.



## OpenAPI

````yaml /openapi/v1.json get /v1/stores/{store}
openapi: 3.1.0
info:
  title: Shoplist API
  version: 1.0.0
servers:
  - url: https://api.shoplist.co
security: []
tags:
  - name: Account
  - name: Vocabulary
  - name: Stores
  - name: Apps
  - name: Contacts
  - name: Exports
  - name: Events
  - name: Webhooks
paths:
  /v1/stores/{store}:
    get:
      tags:
        - Stores
      summary: Get one store
      description: >-
        Returns a store by ID or domain with its current status, including
        closed and password-protected stores. A found store counts once per
        billing period. A miss is free.
      operationId: getStore
      parameters:
        - name: store
          in: path
          required: true
          schema:
            type: string
            minLength: 1
            maxLength: 500
            description: A Shoplist store ID or a storefront domain.
            examples:
              - shop.example
        - name: include
          in: query
          required: false
          schema:
            description: >-
              A comma-separated list of store groups. The groups to include,
              with the default groups used when omitted.
            type: string
            examples:
              - location,apps
            default: location,company,traffic,apps
      responses:
        '200':
          description: Successful response
          headers:
            X-Request-Id:
              required: true
              schema:
                type: string
                pattern: ^req_[a-f0-9]{24}$
                description: The server-generated identifier for this request.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      object:
                        type: string
                        const: store
                        description: The resource type.
                      id:
                        type: string
                        minLength: 1
                        maxLength: 64
                        description: >-
                          The opaque store identifier, which clients should
                          treat as an uninterpreted string.
                      domain:
                        type: string
                        pattern: \S
                        description: The primary domain of the store.
                      name:
                        anyOf:
                          - type: string
                            pattern: \S
                          - type: 'null'
                        description: The display name of the store.
                      status:
                        type: string
                        enum:
                          - open
                          - closed
                          - password_protected
                        description: The observed storefront availability.
                      url:
                        anyOf:
                          - type: string
                            pattern: \S
                          - type: 'null'
                        description: >-
                          The absolute storefront URL (https:// or http://), or
                          null.
                      other_domains:
                        type: array
                        items:
                          type: string
                          pattern: \S
                        description: >-
                          The other observed domains belonging to the same
                          Shopify shop.
                      myshopify_domain:
                        anyOf:
                          - type: string
                            pattern: \S
                          - type: 'null'
                        description: The store subdomain on myshopify.com.
                      shopify_shop_id:
                        anyOf:
                          - type: string
                            pattern: ^\d+$
                            description: >-
                              The Shopify numeric shop identifier encoded as
                              decimal digits.
                          - type: 'null'
                        description: >-
                          The Shopify numeric shop identifier encoded as decimal
                          digits.
                      description:
                        anyOf:
                          - type: string
                            pattern: \S
                          - type: 'null'
                        description: The description of the store.
                      logo_url:
                        anyOf:
                          - type: string
                            pattern: \S
                          - type: 'null'
                        description: The URL of the store logo.
                      category:
                        anyOf:
                          - type: string
                            pattern: \S
                          - type: 'null'
                        description: The top-level Shopify store taxonomy category.
                      subcategory:
                        anyOf:
                          - type: string
                            pattern: \S
                          - type: 'null'
                        description: The Shopify store taxonomy subcategory.
                      first_recorded_at:
                        anyOf:
                          - type: string
                            format: date-time
                            pattern: >-
                              ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                          - type: 'null'
                        description: >-
                          The UTC time when Shoplist first recorded the store
                          facts.
                      last_checked_at:
                        anyOf:
                          - type: string
                            format: date-time
                            pattern: >-
                              ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                          - type: 'null'
                        description: >-
                          The UTC time when Shoplist last checked the storefront
                          for apps.
                      location:
                        type: object
                        properties:
                          country:
                            anyOf:
                              - type: string
                                pattern: ^[A-Z]{2}$
                              - type: 'null'
                            description: >-
                              The store country as an uppercase ISO 3166-1
                              alpha-2 code.
                          state:
                            anyOf:
                              - type: string
                                pattern: \S
                              - type: 'null'
                            description: The state or province of the store.
                          city:
                            anyOf:
                              - type: string
                                pattern: \S
                              - type: 'null'
                            description: The city of the store.
                          currency:
                            anyOf:
                              - type: string
                                pattern: ^[A-Z]{3}$
                              - type: 'null'
                            description: The store currency as an uppercase ISO 4217 code.
                          ships_to_countries:
                            type: array
                            items:
                              type: string
                              pattern: ^[A-Z]{2}$
                            description: >-
                              The countries the store ships to as uppercase ISO
                              3166-1 alpha-2 codes.
                        required:
                          - country
                          - state
                          - city
                          - currency
                          - ships_to_countries
                        additionalProperties: false
                        description: >-
                          The store location, currency, and shipping
                          destinations.
                      company:
                        type: object
                        properties:
                          employees:
                            anyOf:
                              - type: object
                                properties:
                                  count:
                                    anyOf:
                                      - type: integer
                                        minimum: 0
                                        maximum: 9007199254740991
                                      - type: 'null'
                                    description: >-
                                      The estimated headcount as a number of
                                      employees.
                                  min:
                                    anyOf:
                                      - type: integer
                                        minimum: 0
                                        maximum: 9007199254740991
                                      - type: 'null'
                                    description: >-
                                      The lower bound of the headcount range in
                                      employees.
                                  max:
                                    anyOf:
                                      - type: integer
                                        minimum: 0
                                        maximum: 9007199254740991
                                      - type: 'null'
                                    description: >-
                                      The upper bound of the headcount range in
                                      employees.
                                  label:
                                    type: string
                                    pattern: \S
                                    description: >-
                                      The display label for the headcount
                                      estimate.
                                required:
                                  - count
                                  - min
                                  - max
                                  - label
                                additionalProperties: false
                              - type: 'null'
                            description: The estimated company headcount.
                          estimated_annual_revenue:
                            anyOf:
                              - type: object
                                properties:
                                  label:
                                    type: string
                                    pattern: \S
                                    description: >-
                                      The display label for the annual revenue
                                      range.
                                  min_usd:
                                    type: integer
                                    minimum: 0
                                    maximum: 9007199254740991
                                    description: >-
                                      The inclusive lower bound of estimated
                                      annual revenue in whole USD.
                                  max_usd:
                                    anyOf:
                                      - type: integer
                                        minimum: 0
                                        maximum: 9007199254740991
                                      - type: 'null'
                                    description: >-
                                      The exclusive upper bound of estimated
                                      annual revenue in whole USD, with null for
                                      an open-ended range.
                                required:
                                  - label
                                  - min_usd
                                  - max_usd
                                additionalProperties: false
                              - type: 'null'
                            description: The estimated company revenue range per year.
                          founded_year:
                            anyOf:
                              - type: integer
                                minimum: 0
                                maximum: 9007199254740991
                              - type: 'null'
                            description: >-
                              The four-digit calendar year when the company was
                              founded.
                          address:
                            anyOf:
                              - type: string
                                pattern: \S
                              - type: 'null'
                            description: >-
                              The company location formatted as city, region,
                              and country where available.
                          description:
                            anyOf:
                              - type: string
                                pattern: \S
                              - type: 'null'
                            description: The description of the company.
                          linkedin_followers:
                            anyOf:
                              - type: integer
                                minimum: 0
                                maximum: 9007199254740991
                              - type: 'null'
                            description: >-
                              The number of followers on the company LinkedIn
                              profile.
                          built_by_agency:
                            anyOf:
                              - type: string
                                pattern: \S
                              - type: 'null'
                            description: The name of the agency matched to the store.
                          funding:
                            anyOf:
                              - type: object
                                properties:
                                  total_usd:
                                    anyOf:
                                      - type: integer
                                        minimum: 0
                                        maximum: 9007199254740991
                                      - type: 'null'
                                    description: The total funding raised in whole USD.
                                  latest_round:
                                    anyOf:
                                      - type: string
                                        pattern: \S
                                      - type: 'null'
                                    description: >-
                                      The type of the most recent recorded
                                      funding round.
                                  latest_amount_usd:
                                    anyOf:
                                      - type: integer
                                        minimum: 0
                                        maximum: 9007199254740991
                                      - type: 'null'
                                    description: >-
                                      The amount raised in the latest recorded
                                      funding round in whole USD.
                                  latest_on:
                                    anyOf:
                                      - type: string
                                        format: date
                                        pattern: >-
                                          ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
                                      - type: 'null'
                                    description: >-
                                      The calendar date of the latest recorded
                                      funding round.
                                required:
                                  - total_usd
                                  - latest_round
                                  - latest_amount_usd
                                  - latest_on
                                additionalProperties: false
                              - type: 'null'
                            description: >-
                              The recorded company funding totals and latest
                              round.
                        required:
                          - employees
                          - estimated_annual_revenue
                          - founded_year
                          - address
                          - description
                          - linkedin_followers
                          - built_by_agency
                          - funding
                        additionalProperties: false
                        description: The company facts associated with the store.
                      traffic:
                        type: object
                        properties:
                          score:
                            anyOf:
                              - type: integer
                                minimum: 1
                                maximum: 10
                              - type: 'null'
                            description: >-
                              The relative traffic score on an integer scale
                              from 1 to 10.
                          rank_tier:
                            anyOf:
                              - type: string
                                pattern: \S
                              - type: 'null'
                            description: >-
                              The current Chrome UX Report traffic rank tier
                              label, such as Top 10k.
                          rank_tier_year_ago:
                            anyOf:
                              - type: string
                                pattern: \S
                              - type: 'null'
                            description: >-
                              The Chrome UX Report traffic rank tier label from
                              one year earlier.
                          rank_trend:
                            anyOf:
                              - type: string
                                pattern: \S
                              - type: 'null'
                            description: >-
                              The direction of change in the Chrome UX Report
                              traffic ranking.
                          rank_month:
                            anyOf:
                              - type: string
                                pattern: ^\d{4}-(0[1-9]|1[0-2])$
                              - type: 'null'
                            description: >-
                              The latest Chrome UX Report profile month in
                              YYYY-MM format.
                          ranked_market_countries:
                            type: array
                            items:
                              type: string
                              pattern: ^[A-Z]{2}$
                            description: >-
                              The ranked traffic markets in source order as
                              uppercase ISO 3166-1 alpha-2 codes.
                          mobile_visit_share:
                            anyOf:
                              - type: number
                                minimum: 0
                                maximum: 1
                              - type: 'null'
                            description: >-
                              The fraction of Chrome UX Report visits from
                              phones, on a scale from 0 to 1.
                        required:
                          - score
                          - rank_tier
                          - rank_tier_year_ago
                          - rank_trend
                          - rank_month
                          - ranked_market_countries
                          - mobile_visit_share
                        additionalProperties: false
                        description: >-
                          The relative traffic, ranking, and device mix of the
                          store.
                      apps:
                        type: object
                        properties:
                          total:
                            type: integer
                            minimum: 0
                            maximum: 9007199254740991
                            description: >-
                              The total number of currently installed apps
                              detected on the store.
                          returned:
                            type: integer
                            minimum: 0
                            maximum: 9007199254740991
                            description: The number of app records in items.
                          truncated:
                            type: boolean
                            description: >-
                              Whether total exceeds the number of returned app
                              records.
                          items:
                            type: array
                            items:
                              type: object
                              properties:
                                id:
                                  type: string
                                  minLength: 1
                                  maxLength: 64
                                  description: >-
                                    The opaque app identifier, which clients
                                    should treat as an uninterpreted string.
                                handle:
                                  anyOf:
                                    - type: string
                                      pattern: \S
                                    - type: 'null'
                                  description: The Shopify App Store listing handle.
                                name:
                                  type: string
                                  pattern: \S
                                  description: The display name of the Shopify app.
                                category:
                                  anyOf:
                                    - type: string
                                      pattern: \S
                                    - type: 'null'
                                  description: The primary Shopify App Store category.
                                developer:
                                  anyOf:
                                    - type: string
                                      pattern: \S
                                      description: The display name of the developer.
                                    - type: 'null'
                                  description: The display name of the developer.
                                first_detected_at:
                                  anyOf:
                                    - type: string
                                      format: date-time
                                      pattern: >-
                                        ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                                    - type: 'null'
                                  description: >-
                                    When Shoplist first detected this app on the
                                    store. It is not an install date.
                                currently_installed:
                                  type: boolean
                                  const: true
                                  description: >-
                                    Whether the app is currently detected on the
                                    store.
                              required:
                                - id
                                - handle
                                - name
                                - category
                                - developer
                                - first_detected_at
                                - currently_installed
                              additionalProperties: false
                              description: A Shopify app currently detected on the store.
                            description: The returned records for currently installed apps.
                        required:
                          - total
                          - returned
                          - truncated
                          - items
                        additionalProperties: false
                        description: The currently installed apps detected on the store.
                      contact_channels:
                        type: object
                        properties:
                          primary_email:
                            anyOf:
                              - type: string
                                pattern: \S
                              - type: 'null'
                            description: >-
                              The primary public business email address for the
                              store.
                          emails:
                            type: array
                            items:
                              type: string
                              pattern: \S
                            description: The public business email addresses for the store.
                          primary_phone:
                            anyOf:
                              - type: string
                                pattern: \S
                              - type: 'null'
                            description: >-
                              The primary public business phone number for the
                              store.
                          phones:
                            type: array
                            items:
                              type: string
                              pattern: \S
                            description: The public business phone numbers for the store.
                          checked_at:
                            anyOf:
                              - type: string
                                format: date-time
                                pattern: >-
                                  ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
                              - type: 'null'
                            description: >-
                              The UTC time when the business contact channels
                              were checked.
                        required:
                          - primary_email
                          - emails
                          - primary_phone
                          - phones
                          - checked_at
                        additionalProperties: false
                        description: The public business contact channels for the store.
                      social:
                        type: object
                        properties:
                          instagram_url:
                            anyOf:
                              - type: string
                                pattern: \S
                              - type: 'null'
                            description: The URL of the store Instagram profile.
                          instagram_followers:
                            anyOf:
                              - type: integer
                                minimum: 0
                                maximum: 9007199254740991
                              - type: 'null'
                            description: >-
                              The number of followers on the store Instagram
                              profile.
                          facebook_url:
                            anyOf:
                              - type: string
                                pattern: \S
                              - type: 'null'
                            description: The URL of the store Facebook page.
                          tiktok_url:
                            anyOf:
                              - type: string
                                pattern: \S
                              - type: 'null'
                            description: The URL of the store TikTok profile.
                          x_url:
                            anyOf:
                              - type: string
                                pattern: \S
                              - type: 'null'
                            description: The URL of the store X profile.
                          youtube_url:
                            anyOf:
                              - type: string
                                pattern: \S
                              - type: 'null'
                            description: The URL of the store YouTube channel.
                          pinterest_url:
                            anyOf:
                              - type: string
                                pattern: \S
                              - type: 'null'
                            description: The URL of the store Pinterest profile.
                          linkedin_url:
                            anyOf:
                              - type: string
                                pattern: \S
                              - type: 'null'
                            description: The URL of the store LinkedIn page.
                        required:
                          - instagram_url
                          - instagram_followers
                          - facebook_url
                          - tiktok_url
                          - x_url
                          - youtube_url
                          - pinterest_url
                          - linkedin_url
                        additionalProperties: false
                        description: The observed social profiles of the store.
                      storefront:
                        type: object
                        properties:
                          shopify_plus:
                            anyOf:
                              - type: boolean
                                const: true
                              - type: 'null'
                            description: >-
                              Whether Shopify Plus was detected on the store,
                              with null when unconfirmed.
                          storefront_type:
                            anyOf:
                              - type: string
                                pattern: \S
                              - type: 'null'
                            description: The detected storefront implementation type.
                          theme:
                            anyOf:
                              - type: object
                                properties:
                                  name:
                                    anyOf:
                                      - type: string
                                        pattern: \S
                                      - type: 'null'
                                    description: The observed Shopify theme name.
                                  version:
                                    anyOf:
                                      - type: string
                                        pattern: \S
                                      - type: 'null'
                                    description: The observed Shopify theme version.
                                  is_paid:
                                    description: Whether the matched theme is a paid theme.
                                    type:
                                      - boolean
                                      - 'null'
                                required:
                                  - name
                                  - version
                                  - is_paid
                                additionalProperties: false
                              - type: 'null'
                            description: The current Shopify theme observed on the store.
                          payment_methods:
                            type: array
                            items:
                              type: string
                              pattern: \S
                            description: The payment methods observed at checkout.
                          accepted_cards:
                            type: array
                            items:
                              type: string
                              pattern: \S
                            description: >-
                              The accepted payment card brands observed at
                              checkout.
                          shop_pay_installments:
                            description: Whether the store offers Shop Pay Installments.
                            type:
                              - boolean
                              - 'null'
                          checkout_apps:
                            type: array
                            items:
                              type: string
                              pattern: \S
                            description: The names of apps observed in checkout.
                          product_count:
                            anyOf:
                              - type: integer
                                minimum: 0
                                maximum: 9007199254740991
                              - type: 'null'
                            description: >-
                              The number of products observed in the store
                              catalog.
                          collection_count:
                            anyOf:
                              - type: integer
                                minimum: 0
                                maximum: 9007199254740991
                              - type: 'null'
                            description: >-
                              The number of collections observed in the store
                              catalog.
                          core_web_vitals:
                            anyOf:
                              - type: object
                                properties:
                                  status:
                                    type: string
                                    enum:
                                      - pass
                                      - fail
                                    description: >-
                                      Whether the store passes the Core Web
                                      Vitals assessment.
                                  lcp_ms:
                                    anyOf:
                                      - type: number
                                        minimum: 0
                                      - type: 'null'
                                    description: >-
                                      The 75th-percentile Largest Contentful
                                      Paint in milliseconds.
                                  inp_ms:
                                    anyOf:
                                      - type: number
                                        minimum: 0
                                      - type: 'null'
                                    description: >-
                                      The 75th-percentile Interaction to Next
                                      Paint in milliseconds.
                                  cls:
                                    anyOf:
                                      - type: number
                                        minimum: 0
                                      - type: 'null'
                                    description: >-
                                      The 75th-percentile Cumulative Layout
                                      Shift as a unitless score.
                                required:
                                  - status
                                  - lcp_ms
                                  - inp_ms
                                  - cls
                                additionalProperties: false
                              - type: 'null'
                            description: >-
                              The observed Core Web Vitals assessment and
                              measurements.
                        required:
                          - shopify_plus
                          - storefront_type
                          - theme
                          - payment_methods
                          - accepted_cards
                          - shop_pay_installments
                          - checkout_apps
                          - product_count
                          - collection_count
                          - core_web_vitals
                        additionalProperties: false
                        description: >-
                          The observed Shopify storefront, checkout, catalog,
                          and performance facts.
                    required:
                      - object
                      - id
                      - domain
                      - name
                      - status
                      - url
                      - other_domains
                      - myshopify_domain
                      - shopify_shop_id
                      - description
                      - logo_url
                      - category
                      - subcategory
                      - first_recorded_at
                      - last_checked_at
                    additionalProperties: false
                    description: The requested resource.
                  redirected_from:
                    description: >-
                      The requested store ID when it points to a different
                      surviving store.
                    type: string
                    minLength: 1
                    maxLength: 64
                required:
                  - data
                additionalProperties: false
              example:
                data:
                  object: store
                  id: 32e4d994-807a-4d54-912b-4762d452bd12
                  domain: shop.example
                  name: Example Shop
                  status: closed
                  url: https://shop.example
                  other_domains: []
                  myshopify_domain: example-shop.myshopify.com
                  shopify_shop_id: '123456789'
                  description: null
                  logo_url: null
                  category: null
                  subcategory: null
                  first_recorded_at: '2026-10-01T12:00:00Z'
                  last_checked_at: '2026-12-01T12:00:00Z'
                  location:
                    country: US
                    state: null
                    city: null
                    currency: USD
                    ships_to_countries:
                      - US
                      - CA
                  apps:
                    total: 1
                    returned: 1
                    truncated: false
                    items:
                      - id: c7d45447-7446-4eb8-9af6-b62c0bfdc3ed
                        handle: example-app
                        name: Example App
                        category: null
                        developer: Example Developer
                        first_detected_at: '2026-11-01T12:00:00Z'
                        currently_installed: true
        '400':
          description: Invalid request
          headers:
            X-Request-Id:
              required: true
              schema:
                type: string
                pattern: ^req_[a-f0-9]{24}$
                description: The server-generated identifier for this request.
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Problem'
                  - properties:
                      code:
                        const: invalid_request
                      type:
                        const: https://shoplist.co/docs/errors#invalid_request
                      title:
                        const: Invalid request
                      status:
                        const: 400
        '401':
          description: Unauthenticated
          headers:
            X-Request-Id:
              required: true
              schema:
                type: string
                pattern: ^req_[a-f0-9]{24}$
                description: The server-generated identifier for this request.
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Problem'
                  - properties:
                      code:
                        const: unauthenticated
                      type:
                        const: https://shoplist.co/docs/errors#unauthenticated
                      title:
                        const: Unauthenticated
                      status:
                        const: 401
        '402':
          description: >-
            Plan required / Allowance exceeded / Insufficient credits / Spending
            cap exceeded
          headers:
            X-Request-Id:
              required: true
              schema:
                type: string
                pattern: ^req_[a-f0-9]{24}$
                description: The server-generated identifier for this request.
          content:
            application/problem+json:
              schema:
                oneOf:
                  - allOf:
                      - $ref: '#/components/schemas/Problem'
                      - properties:
                          code:
                            const: plan_required
                          type:
                            const: https://shoplist.co/docs/errors#plan_required
                          title:
                            const: Plan required
                          status:
                            const: 402
                  - allOf:
                      - $ref: '#/components/schemas/Problem'
                      - properties:
                          code:
                            const: allowance_exceeded
                          type:
                            const: https://shoplist.co/docs/errors#allowance_exceeded
                          title:
                            const: Allowance exceeded
                          status:
                            const: 402
                  - allOf:
                      - $ref: '#/components/schemas/Problem'
                      - properties:
                          code:
                            const: insufficient_credits
                          type:
                            const: >-
                              https://shoplist.co/docs/errors#insufficient_credits
                          title:
                            const: Insufficient credits
                          status:
                            const: 402
                  - allOf:
                      - $ref: '#/components/schemas/Problem'
                      - properties:
                          code:
                            const: spending_cap_exceeded
                          type:
                            const: >-
                              https://shoplist.co/docs/errors#spending_cap_exceeded
                          title:
                            const: Spending cap exceeded
                          status:
                            const: 402
        '403':
          description: Insufficient scope
          headers:
            X-Request-Id:
              required: true
              schema:
                type: string
                pattern: ^req_[a-f0-9]{24}$
                description: The server-generated identifier for this request.
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Problem'
                  - properties:
                      code:
                        const: insufficient_scope
                      type:
                        const: https://shoplist.co/docs/errors#insufficient_scope
                      title:
                        const: Insufficient scope
                      status:
                        const: 403
        '404':
          description: Not found
          headers:
            X-Request-Id:
              required: true
              schema:
                type: string
                pattern: ^req_[a-f0-9]{24}$
                description: The server-generated identifier for this request.
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Problem'
                  - properties:
                      code:
                        const: not_found
                      type:
                        const: https://shoplist.co/docs/errors#not_found
                      title:
                        const: Not found
                      status:
                        const: 404
        '429':
          description: Rate limit exceeded
          headers:
            X-Request-Id:
              required: true
              schema:
                type: string
                pattern: ^req_[a-f0-9]{24}$
                description: The server-generated identifier for this request.
            RateLimit-Limit:
              schema:
                type: integer
                minimum: 0
            RateLimit-Remaining:
              schema:
                type: integer
                minimum: 0
            RateLimit-Reset:
              description: Seconds until the rate limit resets.
              schema:
                type: integer
                minimum: 0
            Retry-After:
              required: true
              description: Seconds to wait before retrying.
              schema:
                type: integer
                minimum: 0
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Problem'
                  - properties:
                      code:
                        const: rate_limited
                      type:
                        const: https://shoplist.co/docs/errors#rate_limited
                      title:
                        const: Rate limit exceeded
                      status:
                        const: 429
        '500':
          description: Internal error
          headers:
            X-Request-Id:
              required: true
              schema:
                type: string
                pattern: ^req_[a-f0-9]{24}$
                description: The server-generated identifier for this request.
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Problem'
                  - properties:
                      code:
                        const: internal_error
                      type:
                        const: https://shoplist.co/docs/errors#internal_error
                      title:
                        const: Internal error
                      status:
                        const: 500
        '503':
          description: Service unavailable
          headers:
            X-Request-Id:
              required: true
              schema:
                type: string
                pattern: ^req_[a-f0-9]{24}$
                description: The server-generated identifier for this request.
            RateLimit-Limit:
              schema:
                type: integer
                minimum: 0
            RateLimit-Remaining:
              schema:
                type: integer
                minimum: 0
            RateLimit-Reset:
              description: Seconds until the rate limit resets.
              schema:
                type: integer
                minimum: 0
            Retry-After:
              required: true
              description: Seconds to wait before retrying.
              schema:
                type: integer
                minimum: 0
          content:
            application/problem+json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/Problem'
                  - properties:
                      code:
                        const: service_unavailable
                      type:
                        const: https://shoplist.co/docs/errors#service_unavailable
                      title:
                        const: Service unavailable
                      status:
                        const: 503
      security:
        - bearerAuth: []
components:
  schemas:
    Problem:
      type: object
      properties:
        type:
          type: string
          description: The URL that identifies and documents this error type.
        title:
          type: string
          minLength: 1
          description: The fixed title of the error type.
        status:
          type: integer
          minimum: -9007199254740991
          maximum: 9007199254740991
          description: The HTTP status code of the response.
        detail:
          type: string
          minLength: 1
          description: An explanation of the error for this request.
        code:
          type: string
          enum:
            - invalid_request
            - unauthenticated
            - plan_required
            - allowance_exceeded
            - insufficient_credits
            - spending_cap_exceeded
            - insufficient_scope
            - not_found
            - method_not_allowed
            - idempotency_in_progress
            - cursor_expired
            - payload_too_large
            - idempotency_key_reused
            - rate_limited
            - internal_error
            - service_unavailable
          description: The stable machine-readable error code.
        request_id:
          type: string
          pattern: ^req_[a-f0-9]{24}$
          description: The server-generated identifier for this request.
        errors:
          description: Details for up to 20 invalid inputs.
          maxItems: 20
          type: array
          items:
            type: object
            properties:
              path:
                type: string
                description: The dotted path to the invalid input.
              message:
                type: string
                minLength: 1
                description: The validation message for that input.
            required:
              - path
              - message
            additionalProperties: false
      required:
        - type
        - title
        - status
        - detail
        - code
        - request_id
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.