GET
/
consumers
/
{consumer_id}
/
invoicing
/
opportunities
/
{opportunity_id}
curl --request GET \
  --url https://api.chift.eu/consumers/{consumer_id}/invoicing/opportunities/{opportunity_id} \
  --header 'Authorization: Bearer <token>'
{
  "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>"
  }
}

Authorizations

Authorization
string
header
required

This access token needs to be included in each of your request to the Chift API.

Path Parameters

consumer_id
string
required
opportunity_id
string
required

Response

200
application/json
Successful Response
id
string
required

Technical id in Chift

source_ref
object
required

Technical id in the target software

name
string
required

Name

total
number
required

Total

probability
number
required

Probability of success

status
enum<string>
required

Status

Available options:
open,
won,
lost,
cancelled,
closed
partner_id
string

Technical id of the customer in Chift

comment
string

Comment

currency
string

Currency matching target sofware name

description
string

Description

pipe_status
string

Current stage in pipeline

pipe_name
string

Pipeline name

created_date
string

Date creation

due_date
string

Due Date

end_date
string

End Date

is_won
boolean

Is won?

owner_ref
object

Employee/User