Tenant.public.workflows.import Inventory
post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
filestring · binary · max: 10240Required
modestring · enumOptionalPossible values:
headers_match_exactlybooleanOptional
dry_runbooleanOptional
Responses
200Success
application/json
stringOptional
202Success
application/json
401
Unauthenticated
application/json
403Error
application/problem+json
409Error
application/problem+json
422
Validation error
application/json
500Error
application/problem+json
post/workflows/sync-inventory/import
POST /your-tenant/api/v1/workflows/sync-inventory/import HTTP/1.1
Host: plan.claret.app
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: multipart/form-data
Accept: */*
Content-Length: 243
{
"file": "binary",
"mode": "upsert",
"headers_match_exactly": true,
"dry_run": true,
"scope": {
"location": "text",
"item": "text"
},
"options": {
"allow_record_creation": true,
"allow_record_update": true,
"continue_on_error": true
},
"field_mappings": [
"item_name"
]
}textLast updated
Was this helpful?