products:create
products family
Sell something: create a product in your shop with one or more prices (unit_amount in integer cents). Pass status 'active' or it is saved as a draft no one can buy. Returns { pid, ppid, url } — url is the short product address one.ie/<group name>/<product name> (absent until the group holds a name); hand the ppid to checkout_link for a buy link
- Effect
- ask
- Awaits an outcome — the call returns the response below.
- Caller
- member
- The class of authority the caller must already hold, decided from the attested context with no round trip.
- Cost
- free
- What one call costs, so you can budget before acting.
- Reversible
- yes
- The effect can be undone by a later call.
- Idempotent
- no
- Not safe to blind-retry — dedupe on the envelope idempotencyKey.