Skip to main content
POST
/
upserts
Create an upsert
curl --request POST \
  --url https://api.vectorify.ai/v1/upserts \
  --header 'Api-Key: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "items": [
    {
      "id": "123",
      "data": {
        "customer_name": "John Doe",
        "status": "draft",
        "amount": "100",
        "currency": "USD",
        "due_date": "2023-10-01"
      },
      "metadata": {
        "customer_name": "John Doe",
        "status": "draft"
      },
      "tenant": 987,
      "url": "<string>"
    }
  ]
}
'
{
  "data": {
    "result": "Queued",
    "created_at": "<string>"
  }
}

Authorizations

Api-Key
string
header
required

Body

application/json
items
object[]
required
Maximum array length: 90
collection
object

Response

UpsertStore

data
UpsertStore · object
required