cURL
curl --request POST \ --url https://app.variable.global/api/v1/supplier \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "Supplier Name", "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "syncId": "sync123" } '
{ "uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "syncId": "sync123", "name": "Supplier Name", "connected": true, "image": "https://app.variable.global/uploads/image.jpg" }
Create a supplier
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"Supplier Name"
An identifier to use when syncing data with other systems. Read more
"sync123"
A supplier
true
"https://app.variable.global/uploads/image.jpg"