Hanzo
OpenapiCommerce

Fetch a product as this storefront sells it

Returns the stored product with the store's listing for it laid over the top — non-empty listing fields replace the catalog values and the currency is…

GET /v1/commerce/store/{storeid}/product/{key}

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

Returns the stored product with the store's listing for it laid over the top — non-empty listing fields replace the catalog values and the currency is forced to the store's own — which is what lets two storefronts sell the same catalog product at their own price, name and media. The overlay is keyed by the product's ID, so a listing filed only under a slug or SKU does not apply here. An unknown store or key is 404. Readable with an admin token or the anonymous published storefront key.

Request

2 fields.

FieldInTypeRequiredDescription
storeidpathstringyes
keypathstringyes

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 has no subcommand for this operation — the CLI serves only what cloud's live route table confirms. Use HTTP or an SDK.


Commerce API · All Hanzo APIs · Interactive reference

How is this guide?

On this page