The 'Errands' application of the Core API
/
Create 'Externalsupplier'
Errands (2.0.0)
Download OpenAPI description
Languages
Servers
https://{environment}.pigello.io
- https://dev.api.pigello.io/errands/suppliers/externalsupplier/list/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://dev.api.pigello.io/errands/suppliers/externalsupplier/list/ \
-H 'Content-Type: application/json' \
-H 'X-PIGELLO-APPLICATION-ID: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-CLIENT-CT: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-CLIENT-ENTITY: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-CLIENT-SECRET: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-CUSTOMER-ID: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-SERVICE-ID: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-SERVICE-VERSION-ID: YOUR_API_KEY_HERE' \
-d '[
{
"name": "string",
"invoice_address": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"org_no": "stringstri",
"contact_last_name": "string",
"receive_sms_notifications": true,
"organization": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"errands_phone_number": "string",
"contact_phone_number": "string",
"contact_email": "user@example.com",
"errands_email": "user@example.com",
"contact_first_name": "string",
"receive_email_notifications": true,
"custom_id": "string"
}
]'Response
application/json
[ { "name": "string", "invoice_address": { … }, "created_at": "2019-08-24T14:15:22Z", "org_no": "stringstri", "contact_last_name": "string", "receive_sms_notifications": true, "organization": { … }, "errands_phone_number": "string", "contact_phone_number": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "pending_monitor_approval_amount": null, "contact_email": "user@example.com", "errands_email": "user@example.com", "contact_first_name": "string", "receive_email_notifications": true, "custom_id": "string" } ]
- https://dev.api.pigello.io/errands/suppliers/externalsupplier/
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://dev.api.pigello.io/errands/suppliers/externalsupplier/ \
-H 'Content-Type: application/json' \
-H 'X-PIGELLO-APPLICATION-ID: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-CLIENT-CT: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-CLIENT-ENTITY: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-CLIENT-SECRET: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-CUSTOMER-ID: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-SERVICE-ID: YOUR_API_KEY_HERE' \
-H 'X-PIGELLO-SERVICE-VERSION-ID: YOUR_API_KEY_HERE' \
-d '{
"name": "string",
"invoice_address": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"org_no": "stringstri",
"contact_last_name": "string",
"receive_sms_notifications": true,
"organization": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"errands_phone_number": "string",
"contact_phone_number": "string",
"contact_email": "user@example.com",
"errands_email": "user@example.com",
"contact_first_name": "string",
"receive_email_notifications": true,
"custom_id": "string"
}'Response
application/json
{ "name": "string", "invoice_address": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "created_at": "2019-08-24T14:15:22Z", "org_no": "stringstri", "contact_last_name": "string", "receive_sms_notifications": true, "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "errands_phone_number": "string", "contact_phone_number": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "pending_monitor_approval_amount": null, "contact_email": "user@example.com", "errands_email": "user@example.com", "contact_first_name": "string", "receive_email_notifications": true, "custom_id": "string" }