Hanzo
CLICommerce

Commerce

105 `hanzo` commands for Commerce, each calling one operation on api.hanzo.ai.

Package commerce is selling: checkout, subscriptions, invoices, spend alerts, payment webhooks and the storefront catalog.

105 commands · API reference →

CommandCallsWhat it does
hanzo commerce catalogGET /v1/commerce/catalogThe public product catalog projection for a brand
hanzo commerce collection get <collectionid>GET /v1/commerce/collection/{collectionid}Fetch one collection
hanzo commerce collection set <collectionid>PUT /v1/commerce/collection/{collectionid}Replace a collection outright
hanzo commerce collection update <collectionid>PATCH /v1/commerce/collection/{collectionid}Change part of a collection
hanzo commerce collection rm <collectionid>DELETE /v1/commerce/collection/{collectionid}Delete a collection, keeping a recoverable copy
hanzo commerce collection listGET /v1/commerce/collection/List your org's collections, as a page
hanzo commerce collection createPOST /v1/commerce/collection/Create a collection
hanzo commerce currenciesGET /v1/commerce/currenciesThe reference currency list the price and settings pickers render
hanzo commerce disclosure get <disclosureid>GET /v1/commerce/disclosure/{disclosureid}Fetch one disclosure
hanzo commerce disclosure set <disclosureid>PUT /v1/commerce/disclosure/{disclosureid}Replace a disclosure outright
hanzo commerce disclosure update <disclosureid>PATCH /v1/commerce/disclosure/{disclosureid}Change part of a disclosure
hanzo commerce disclosure rm <disclosureid>DELETE /v1/commerce/disclosure/{disclosureid}Delete a disclosure, keeping a recoverable copy
hanzo commerce disclosure listGET /v1/commerce/disclosure/List your org's disclosures, as a page
hanzo commerce disclosure createPOST /v1/commerce/disclosure/Create a disclosure
hanzo commerce discount get <discountid>GET /v1/commerce/discount/{discountid}Fetch one discount
hanzo commerce discount set <discountid>PUT /v1/commerce/discount/{discountid}Replace a discount outright
hanzo commerce discount update <discountid>PATCH /v1/commerce/discount/{discountid}Change part of a discount
hanzo commerce discount rm <discountid>DELETE /v1/commerce/discount/{discountid}Delete a discount, keeping a recoverable copy
hanzo commerce discount listGET /v1/commerce/discount/List your org's discounts, as a page
hanzo commerce discount createPOST /v1/commerce/discount/Create a discount
hanzo commerce movie get <movieid>GET /v1/commerce/movie/{movieid}Fetch one movie
hanzo commerce movie set <movieid>PUT /v1/commerce/movie/{movieid}Replace a movie outright
hanzo commerce movie update <movieid>PATCH /v1/commerce/movie/{movieid}Change part of a movie
hanzo commerce movie rm <movieid>DELETE /v1/commerce/movie/{movieid}Delete a movie, keeping a recoverable copy
hanzo commerce movie listGET /v1/commerce/movie/List your org's movies, as a page
hanzo commerce movie createPOST /v1/commerce/movie/Create a movie
hanzo commerce note get <noteid>GET /v1/commerce/note/{noteid}Fetch one note
hanzo commerce note set <noteid>PUT /v1/commerce/note/{noteid}Replace a note outright
hanzo commerce note update <noteid>PATCH /v1/commerce/note/{noteid}Change part of a note
hanzo commerce note rm <noteid>DELETE /v1/commerce/note/{noteid}Delete a note, keeping a recoverable copy
hanzo commerce note listGET /v1/commerce/note/List your org's notes, as a page
hanzo commerce note createPOST /v1/commerce/note/Create a note
hanzo commerce orgGET /v1/commerce/orgThe public org configuration a checkout page boots from
hanzo commerce product get <productid>GET /v1/commerce/product/{productid}Fetch one product
hanzo commerce product set <productid>PUT /v1/commerce/product/{productid}Replace a product outright
hanzo commerce product update <productid>PATCH /v1/commerce/product/{productid}Change part of a product
hanzo commerce product rm <productid>DELETE /v1/commerce/product/{productid}Delete a product, keeping a recoverable copy
hanzo commerce product listGET /v1/commerce/product/List your org's products, as a page
hanzo commerce product createPOST /v1/commerce/product/Create a product
hanzo commerce return get <returnid>GET /v1/commerce/return/{returnid}Fetch one return
hanzo commerce return set <returnid>PUT /v1/commerce/return/{returnid}Replace a return outright
hanzo commerce return update <returnid>PATCH /v1/commerce/return/{returnid}Change part of a return
hanzo commerce return rm <returnid>DELETE /v1/commerce/return/{returnid}Delete a return, keeping a recoverable copy
hanzo commerce return listGET /v1/commerce/return/List your org's returns, as a page
hanzo commerce return createPOST /v1/commerce/return/Create a return
hanzo commerce saleschannel get <saleschannelid>GET /v1/commerce/saleschannel/{saleschannelid}Fetch one sales channel
hanzo commerce saleschannel set <saleschannelid>PUT /v1/commerce/saleschannel/{saleschannelid}Replace a sales channel outright
hanzo commerce saleschannel update <saleschannelid>PATCH /v1/commerce/saleschannel/{saleschannelid}Change part of a sales channel
hanzo commerce saleschannel rm <saleschannelid>DELETE /v1/commerce/saleschannel/{saleschannelid}Delete a sales channel, keeping a recoverable copy
hanzo commerce saleschannel listGET /v1/commerce/saleschannel/List your org's sales channels, as a page
hanzo commerce saleschannel createPOST /v1/commerce/saleschannel/Create a sales channel
hanzo commerce stocklocation get <stocklocationid>GET /v1/commerce/stocklocation/{stocklocationid}Fetch one stock location
hanzo commerce stocklocation set <stocklocationid>PUT /v1/commerce/stocklocation/{stocklocationid}Replace a stock location outright
hanzo commerce stocklocation update <stocklocationid>PATCH /v1/commerce/stocklocation/{stocklocationid}Change part of a stock location
hanzo commerce stocklocation rm <stocklocationid>DELETE /v1/commerce/stocklocation/{stocklocationid}Delete a stock location, keeping a recoverable copy
hanzo commerce stocklocation listGET /v1/commerce/stocklocation/List your org's stock locations, as a page
hanzo commerce stocklocation createPOST /v1/commerce/stocklocation/Create a stock location
hanzo commerce submission get <submissionid>GET /v1/commerce/submission/{submissionid}Fetch one submission
hanzo commerce submission set <submissionid>PUT /v1/commerce/submission/{submissionid}Replace a submission outright
hanzo commerce submission update <submissionid>PATCH /v1/commerce/submission/{submissionid}Change part of a submission
hanzo commerce submission rm <submissionid>DELETE /v1/commerce/submission/{submissionid}Delete a submission, keeping a recoverable copy
hanzo commerce submission listGET /v1/commerce/submission/List your org's submissions, as a page
hanzo commerce submission createPOST /v1/commerce/submission/Create a submission
hanzo commerce subscriber get <subscriberid>GET /v1/commerce/subscriber/{subscriberid}Fetch one subscriber
hanzo commerce subscriber set <subscriberid>PUT /v1/commerce/subscriber/{subscriberid}Replace a subscriber outright
hanzo commerce subscriber update <subscriberid>PATCH /v1/commerce/subscriber/{subscriberid}Change part of a subscriber
hanzo commerce subscriber rm <subscriberid>DELETE /v1/commerce/subscriber/{subscriberid}Delete a subscriber, keeping a recoverable copy
hanzo commerce subscriber listGET /v1/commerce/subscriber/List your org's subscribers, as a page
hanzo commerce subscriber createPOST /v1/commerce/subscriber/Create a subscriber
hanzo commerce tokentransaction get <tokentransactionid>GET /v1/commerce/tokentransaction/{tokentransactionid}Fetch one token transaction
hanzo commerce tokentransaction set <tokentransactionid>PUT /v1/commerce/tokentransaction/{tokentransactionid}Replace a token transaction outright
hanzo commerce tokentransaction update <tokentransactionid>PATCH /v1/commerce/tokentransaction/{tokentransactionid}Change part of a token transaction
hanzo commerce tokentransaction rm <tokentransactionid>DELETE /v1/commerce/tokentransaction/{tokentransactionid}Delete a token transaction, keeping a recoverable copy
hanzo commerce tokentransaction listGET /v1/commerce/tokentransaction/List your org's token transactions, as a page
hanzo commerce tokentransaction createPOST /v1/commerce/tokentransaction/Create a token transaction
hanzo commerce transfer get <transferid>GET /v1/commerce/transfer/{transferid}Fetch one transfer
hanzo commerce transfer set <transferid>PUT /v1/commerce/transfer/{transferid}Replace a transfer outright
hanzo commerce transfer update <transferid>PATCH /v1/commerce/transfer/{transferid}Change part of a transfer
hanzo commerce transfer rm <transferid>DELETE /v1/commerce/transfer/{transferid}Delete a transfer, keeping a recoverable copy
hanzo commerce transfer listGET /v1/commerce/transfer/List your org's transfers, as a page
hanzo commerce transfer createPOST /v1/commerce/transfer/Create a transfer
hanzo commerce variant get <variantid>GET /v1/commerce/variant/{variantid}Fetch one variant
hanzo commerce variant set <variantid>PUT /v1/commerce/variant/{variantid}Replace a variant outright
hanzo commerce variant update <variantid>PATCH /v1/commerce/variant/{variantid}Change part of a variant
hanzo commerce variant rm <variantid>DELETE /v1/commerce/variant/{variantid}Delete a variant, keeping a recoverable copy
hanzo commerce variant listGET /v1/commerce/variant/List your org's variants, as a page
hanzo commerce variant createPOST /v1/commerce/variant/Create a variant
hanzo commerce wallet get <walletid>GET /v1/commerce/wallet/{walletid}Fetch one wallet
hanzo commerce wallet set <walletid>PUT /v1/commerce/wallet/{walletid}Replace a wallet outright
hanzo commerce wallet update <walletid>PATCH /v1/commerce/wallet/{walletid}Change part of a wallet
hanzo commerce wallet rm <walletid>DELETE /v1/commerce/wallet/{walletid}Delete a wallet, keeping a recoverable copy
hanzo commerce wallet listGET /v1/commerce/wallet/List your org's wallets, as a page
hanzo commerce wallet createPOST /v1/commerce/wallet/Create a wallet
hanzo commerce watchlist get <watchlistid>GET /v1/commerce/watchlist/{watchlistid}Fetch one watchlist
hanzo commerce watchlist set <watchlistid>PUT /v1/commerce/watchlist/{watchlistid}Replace a watchlist outright
hanzo commerce watchlist update <watchlistid>PATCH /v1/commerce/watchlist/{watchlistid}Change part of a watchlist
hanzo commerce watchlist rm <watchlistid>DELETE /v1/commerce/watchlist/{watchlistid}Delete a watchlist, keeping a recoverable copy
hanzo commerce watchlist listGET /v1/commerce/watchlist/List your org's watchlists, as a page
hanzo commerce watchlist createPOST /v1/commerce/watchlist/Create a watchlist
hanzo commerce webhook get <webhookid>GET /v1/commerce/webhook/{webhookid}Fetch one webhook
hanzo commerce webhook set <webhookid>PUT /v1/commerce/webhook/{webhookid}Replace a webhook outright
hanzo commerce webhook update <webhookid>PATCH /v1/commerce/webhook/{webhookid}Change part of a webhook
hanzo commerce webhook rm <webhookid>DELETE /v1/commerce/webhook/{webhookid}Delete a webhook, keeping a recoverable copy
hanzo commerce webhook listGET /v1/commerce/webhook/List your org's webhooks, as a page
hanzo commerce webhook createPOST /v1/commerce/webhook/Create a webhook

How is this guide?