cURL
curl --request GET \ --url https://dev.api.mufi.app/v1/products/{id}/sales \ --header 'Authorization: Bearer <token>'
{ "sales": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "order_number": "<string>", "order_status": "<string>", "product_name": "<string>", "quantity": 123, "unit_price": 123, "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "user_email": "jsmith@example.com", "user_first_name": "<string>", "user_last_name": "<string>", "created_at": "2023-11-07T05:31:56Z" } ], "pagination": { "page": 123, "limit": 123, "total": 123 } }
Fetch all sales (order items) for a product. Results are paginated.
A JWT Access Token obtained from Google Cloud.
The product ID.
x >= 1
1 <= x <= 100
Returns a paginated list of sales for the product.
Show child attributes