Trade

Update

get

Retrieve the trade estimate for the ID.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
trade_idstring · alphanumericRequired

The identifier of a trade estimate.

Example: 774fds45-e89b-12d3-a456-426614174000
Query parameters
vidstring · alphanumericRequired

The unique external indentifier for the user's session.

Example: 47de026c-e52f-afc1-9214-063740bbce4d
sidstring · alphanumericOptional

The unique external indentifier for the user's current session.

Example: 47de026c-e52f-afc1-9214-063740bbce4d
Header parameters
x-dm-access-keystringRequired

The unique identifier of your dealer. Refer to Console > Dealers to get or setup your dealer access key.

x-api-keystringRequired

Your app's client ID.

Example: 47de026c-e52f-afc1-9214-063740bbce4d
Responses
200

The trade estimate.

application/json
get
/v1/trade/{trade_id}

Update

put

Update status and other details of the trade.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
trade_idstring · alphanumericRequired

The identifier of a trade estimate.

Example: 774fds45-e89b-12d3-a456-426614174000
Query parameters
vidstring · alphanumericRequired

The unique external indentifier for the user's session.

Example: 47de026c-e52f-afc1-9214-063740bbce4d
sidstring · alphanumericOptional

The unique external indentifier for the user's current session.

Example: 47de026c-e52f-afc1-9214-063740bbce4d
Header parameters
x-dm-access-keystringRequired

The unique identifier of your dealer. Refer to Console > Dealers to get or setup your dealer access key.

x-api-keystringRequired

Your app's client ID.

Example: 47de026c-e52f-afc1-9214-063740bbce4d
Body
payoffnumber · currencyOptional

The amount required to pay off the trade.

Default: 0Example: 4000
statusnumber · enumOptional

The status of the trade. 1 - Not applied. 2 - Applied. -1 - Deleted.

Example: 2Possible values:
vidstring · alphanumericRequired

Unique identifier that is passed by an external system.

Example: 123e4567-e89b-12d3-a456-426614174000
sidstring · alphanumericRequired

Unique session identifier that is passed by an external system.

Example: sese4567-e89b-12d3-a456-426614174000
Responses
200

The updated trade.

application/json
put
/v1/trade/{trade_id}

Remove

delete

Remove the trade estimate for the ID.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
trade_idstring · alphanumericRequired

The identifier of a trade estimate.

Example: 774fds45-e89b-12d3-a456-426614174000
Query parameters
vidstring · alphanumericRequired

The unique external indentifier for the user's session.

Example: 47de026c-e52f-afc1-9214-063740bbce4d
sidstring · alphanumericOptional

The unique external indentifier for the user's current session.

Example: 47de026c-e52f-afc1-9214-063740bbce4d
Header parameters
x-dm-access-keystringRequired

The unique identifier of your dealer. Refer to Console > Dealers to get or setup your dealer access key.

x-api-keystringRequired

Your app's client ID.

Example: 47de026c-e52f-afc1-9214-063740bbce4d
Responses
200

Execution status.

application/json
delete
/v1/trade/{trade_id}