Get a product’s sales
Orders that include the product, units and revenue, placed in the period (all time without one).
GET
Orders that include the product, units and revenue, placed in the period (all time without one).
apiKey readheader
AuthorizationBearer <token>A workspace API key (pf_…), created under Developers → API keys.
Scope: read
id*stringFormat
uuidfrom?stringFrom (inclusive)
Format
date-timeto?stringUntil (exclusive)
Format
date-timeOK
application/json- response
orders*integerunits*integerrevenue*curl -X GET 'https://api.postforge.dev/v1/products/497f6eca-6276-4993-bfeb-53cbbbba6f08/sales'{ "orders": 0, "units": 0, "revenue": { "amount": 0, "currency": "str" }}