Openapi
Update a supplier for the specified organization.
Supabase browser session cookie. Supabase may split larger session values into chunked cookies like sb-auth-token.0.
In: cookie
uuiduuidapplication/json
The supplier payload.
TypeScript Definitions
Use the request body type in TypeScript.
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/v1/organizations/123/suppliers/123" \ -H "Content-Type: application/json" \ -d '{ "name": "string" }'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "organizationId": "7bc05553-4b68-44e8-b7bc-37be63c6d9e9", "name": "string", "email": "string", "phone": "string", "website": "string", "notes": "string", "status": "active", "code": "string", "accountNumber": "string", "kvk": "string", "btw": "string", "orderingEmail": "string", "billingEmail": "string", "addressLine1": "string", "addressLine2": "string", "addressCity": "string", "addressState": "string", "addressPostalCode": "string", "addressCountry": "string", "currency": "string", "paymentTermsDays": 0, "defaultLeadTimeDays": 0, "defaultInventoryLocationId": "39ba1a59-f7f9-4e8f-a32f-270329b3f772", "source": "string", "externalId": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z"}1 <= length <= 240emaillength <= 320length <= 20length <= 4000Value in
length <= 240length <= 240length <= 40length <= 40emaillength <= 320emaillength <= 320length <= 240length <= 240length <= 240length <= 240length <= 240length <= 240^[A-Z]{3}$0 <= value0 <= valuelength <= 240length <= 240