Create a supplier
POST/api/v1/workspaces/:workspace_id/suppliers
Creates a new supplier in the specified workspace
Request
Responses
- 201
- 401
- 403
- 422
The supplier was created as a party in the workspace's directory and is returned in full, including its addresses and contacts.
The request is missing a bearer token, or the token is invalid or expired.
The OAuth application's token is valid, but the application has no access grant for the requested workspace, or no such workspace exists.
The supplier payload failed validation (for example an invalid SIRET or VAT identifier); the response body lists each invalid attribute and the reason under errors.