Security
customer_id and application_id and service_id and service_version_id and client_ct and client_object_id and client_secret
PATCH
curl -i -X PATCH \
'https://dev.api.pigello.io/errands/suppliers/externalsupplier/{pk}/' \
-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 '{
"receive_email_notifications": true,
"custom_id": "string",
"org_no": "stringstri",
"contact_first_name": "string",
"contact_last_name": "string",
"invoice_address": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"receive_sms_notifications": true,
"organization": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
},
"name": "string",
"contact_phone_number": "string",
"contact_email": "user@example.com",
"errands_phone_number": "string",
"errands_email": "user@example.com"
}'Successful update
Response
{ "receive_email_notifications": true, "custom_id": "string", "org_no": "stringstri", "contact_first_name": "string", "contact_last_name": "string", "invoice_address": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "created_at": "2019-08-24T14:15:22Z", "pending_monitor_approval_amount": null, "receive_sms_notifications": true, "organization": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }, "name": "string", "contact_phone_number": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "contact_email": "user@example.com", "errands_phone_number": "string", "errands_email": "user@example.com" }