Skip to Content
ReferenceAPIStorefrontGet an item

Storefront API

Get storefront item

Get an active product or service published by a workspace.

GET/storefront/v1/{workspaceSlug}/catalogue/items/{handle}
capability storefront.catalogue.get · v1public dataserver-scoped workspace

Request

Path, query, and JSON body fields accepted by this operation.

  • workspaceSlugstringrequired
    pathmin length 1max length 64
  • handlestringrequired
    pathmin length 1max length 120
  • currencyCodestringrequired
    querymin length 3max length 3
  • quantityinteger
    querydefault 1min 1max 10000
  • atstring<date-time>
    query

Response

Successful responses use Dawn's data envelope.

  • dataStorefrontCatalogueItemrequired
    • idstring<uuid>required
    • kind"product" | "service"required
    • handlestringrequired
      min length 1max length 120
    • namestringrequired
      min length 1max length 160
    • descriptionstring | nullrequired
      max length 5000
    • referencestring | nullrequired
      min length 1max length 120
    • serviceDurationMinutesinteger | nullrequired
      min 5max 1440
    • priceobject | nullrequired
      • priceIdstring<uuid>required
      • type"base" | "override" | "sale"required
      • currencyCodestringrequired
        min length 3max length 3
      • unitAmountintegerrequired
        min 0max 100000000000
      • originalPriceIdstring<uuid> | nullrequired
      • originalUnitAmountinteger | nullrequired
        min 0max 100000000000
  • metaobject

Errors

Error responses use the shared error envelope.

  • 404The storefront item could not be found.
  • 422The storefront request is invalid.
  • 503The storefront is temporarily unavailable.
Last updated on