8 tools · production · spec
Spree is an apparel platform that lets an agent search products, manage the cart, apply coupons, and navigate to checkout.
Tools8 total
add_to_cart
actionimperative/quantityinteger—
variant_idintegerrequiredThe variant ID (NOT the product ID). Get this from get_product → variants.
apply_coupon
actionimperative/coupon_codestringrequired
get_product
readimperative/slugstringrequiredProduct slug, e.g. 'denim-shirt'.
get_store_info
readimperative/no parameters
go_to_checkout
actionimperative/no parameters
list_categories
readimperative/parentstring—Optional permalink filter for children of a given parent, e.g. 'categories/men'.
search_products
readimperative/sortstring—Sort order.
limitinteger—
querystring—Keyword to match against product names, e.g. 'denim shirt'.
taxonstring—Permalink filter, e.g. 'categories/men/shirts' or 'collections/new-arrivals'.
in_stockboolean—If true, only return purchasable items in stock.
max_pricenumber—Maximum price in USD.
min_pricenumber—Minimum price in USD.
view_cart
readimperative/no parameters