List deal line items
Returns the line items on a deal in order, with the total of all lines.
GET
https://app.softsolz.uk/api/v1/services/pipelines/pipelines/deals/{deal_id}/productsRecent Requests
Kept only in this browserTimeStatusTook
Send a request with Try it to see it here.
Path Params
deal_idstringrequiredHeaders
AuthorizationstringrequiredBearer token: Bearer sk_live_... (or sk_test_... for sandbox). A login token will not work here.
Response
Response Body
linesarray of objectsThe line items.total_centsintegerSum of every line total, in minor units.Request
curl --request GET \ --url https://app.softsolz.uk/api/v1/services/pipelines/pipelines/deals/{deal_id}/products \ --header 'Authorization: Bearer sk_live_your_key'Credentials
Sent as a Bearer token and used in the samples above and in Try it. Kept only in this browser tab until you close it. Use an sk_test_ key to stay in your sandbox.
Response · 200
{ "data": { "lines": [ { "id": "19", "deal_id": "345", "product_id": null, "price_id": null, "product_name": null, "description": "Onboarding workshop", "quantity": 2, "unit_price_cents": 75000, "discount_percent": 10, "billing_interval": null, "total_cents": 135000, "sort_order": 0 } ], "total_cents": 135000 }}