cURL
curl --request GET \ --url https://api.chift.eu/consumers/{consumer_id}/invoicing/opportunities \ --header 'Authorization: Bearer <token>'
{ "items": [ { "id": "<string>", "source_ref": { "id": "<string>", "model": "<string>" }, "name": "<string>", "total": 123, "probability": 123, "status": "open", "partner_id": "<string>", "comment": "<string>", "currency": "<string>", "description": "<string>", "pipe_status": "<string>", "pipe_name": "<string>", "created_date": "2023-12-25", "due_date": "2023-12-25", "end_date": "2023-12-25", "is_won": true, "owner_ref": { "id": "<string>", "model": "<string>", "name": "<string>" } } ], "total": 1, "page": 2, "size": 2 }
Returns a list of all the opportunities
This access token needs to be included in each of your request to the Chift API.
Page number Page number
x >= 1
Page size Page size
1 <= x <= 100
Successful Response
Show child attributes
Technical id in Chift
Technical id in the target software
Name of the model/entity in the target software
Name
Total
Probability of success
Status
open
won
lost
cancelled
closed
Technical id of the customer in Chift
Comment
Currency matching target sofware name
Description
Current stage in pipeline
Pipeline name
Date creation
Due Date
End Date
Is won?
Employee/User
Value the field in the target software
x >= 0