Parties

Handle order's parties.


PUT/api/v1/orders/{order_id}/parties/{party_id)/toggle_poc

Toggle Party POC

This endpoint allows to toggle the party POC.

URL attributes

  • Name
    order_id
    Type
    string required
    Description

    The order id.

  • Name
    party_id
    Type
    string required
    Description

    The order's party id.

Data attributes

  • Name
    poc
    Type
    boolean required
    Description

    The party POC status.

Request

POST
/api/v1/orders/{order_id}/parties/{party_id)/toggle_poc
curl --location --request POST 'https://app.collateralxp.com/api/v1/orders/{order_id}/parties/{party_id)/toggle_poc' \
  --header 'X-API-KEY: {api_key}' \
  -d 'poc=true'

Response

{
  "success": true
}