Hanzo AI
OpenapiCommerce

Get store

Reads the addressed store from the caller org's own namespaced database, so an id belonging to another tenant is simply absent there and answers 404…

GET /v1/commerce/store/{storeid}

Addresshttps://api.hanzo.ai/v1/commerce/store/{storeid}
MethodGET
Operationget_commerce_store_by_storeid
AuthAuthorization: Bearer $HANZO_API_KEY

Reads the addressed store from the caller org's own namespaced database, so an id belonging to another tenant is simply absent there and answers 404 rather than leaking its existence. The body is the stored entity including its embedded listing override map. Readable with an admin or store-read token and also with the anonymous published storefront key, which is what lets a logged-out storefront resolve the store it is rendering.

Request

1 field.

FieldInTypeRequiredDescription
storeidpathstringyes

Response

The document declares no response body for this operation. It answers 200 on success and the platform error shape on failure — see Errors.

Examples

hanzo commerce store get <storeid>

Commerce API · All Hanzo APIs · Interactive reference

How is this guide?

On this page