curl --request POST \
  --url https://api.dots.dev/api/v2/accounts-payable/payables/{payable_id}/file \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "id": "<string>",
  "updated": true,
  "object": "<string>"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

payable_id
string
required

The ID of the Payable

Body

application/json
file
file
required

Response

200 - application/json
OK
id
string

ID of the payable that was updated with the file.

updated
boolean

true if the payable was updated.

object
string

Type of the object that was updated.