Skip to main content

Shortcuts

Shortcuts are high-frequency commands prefixed with +, designed for both human developers and AI agents. They provide smart defaults and streamlined workflows.

Syntax

shoplazza <topic> +<action> [flags]

Available shortcuts

Products (7 shortcuts)

CommandDescription
products +searchSearch products by keyword
products +countCount products
products +createCreate a product
products +set-priceUpdate product pricing
products +stockUpdate inventory
products +publishPublish to online store
products +unpublishRemove from online store

Orders (5 shortcuts)

CommandDescription
orders +searchSearch orders
orders +countCount orders
orders +shipCreate fulfillment
orders +refundCreate refund
orders +update-trackingUpdate tracking info

Discounts (8 shortcuts)

CommandDescription
discounts +searchSearch discounts
discounts +rebateCreate automatic rebate
discounts +flashsaleCreate flash sale
discounts +mn-discountCreate M-N discount
discounts +percent-codeCreate percentage code
discounts +amount-codeCreate fixed amount code
discounts +bxgy-codeCreate buy-X-get-Y code
discounts +free-shipping-codeCreate free shipping code

Customers (2 shortcuts)

CommandDescription
customers +searchSearch customers
customers +createCreate a customer

Shop (1 shortcut)

CommandDescription
shop +upload-fileUpload a file

Themes (6 shortcuts)

CommandDescription
themes initScaffold new theme
themes servePreview with live reload
themes pullDownload from store
themes pushUpload to store
themes packagePackage as ZIP
themes shareShare preview link

Common flags

All shortcuts support these flags:

FlagDescription
--format <json|pretty|table>Output format
--fields <f1,f2>Project specific fields in output
--jq <expr>Filter JSON output

Examples

# Search with table output
shoplazza products +search --keyword "dress" --format table

# Search with field projection
shoplazza orders +search --fields "id,status,total_price" --format table

# Create and filter output
shoplazza customers +create --jq '.data.id'