POST
/
policies
Request Policy
curl --request POST \
  --url https://staging.yasmina.ai/api/v1/car/policies \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "vin": "<string>",
  "car_sequence_number": "<string>",
  "current_car_owner": "<string>",
  "new_owner_id": "<string>"
}'
{
  "id": 123,
  "meta_data": {},
  "start_date": "<string>",
  "provider_policy_id": 123,
  "provider_policy": "<string>",
  "order_status": 123,
  "approval_status": 123,
  "end_date": "<string>",
  "is_claimed": true,
  "created_at": "<string>",
  "updated_at": "<string>",
  "client_id": "<string>",
  "canceled_at": "<string>",
  "invoice": "<string>",
  "cancellation_document": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

201
application/json

Created

The response is of type object.