Update existing supplier information including contact details, email addresses, and physical addresses. Keeping supplier information current ensures accurate purchase order delivery and communication.
Use the PUT method with /v2/suppliers/{supplier_id} to update an existing supplier's information.
| Parameter | Type | Description |
|---|---|---|
supplier_id | string | The unique identifier of the supplier to update |
The request body accepts the same properties as the create operation. supplier_name is required; all other fields are optional.
| Property | Type | Required | Description |
|---|---|---|---|
supplier_name | string | Required | Name of the supplier company |
supplier_email | string (email) | Optional | Email address for sending purchase orders |
address_line_1 | string | Optional | First line of address |
address_line_2 | string | Optional | Second line of address |
city | string | Optional | City |
state | string | Optional | State or province code |
postal_code | string | Optional | Postal or ZIP code |
country_code | string | Optional | ISO 3166-1 alpha-2 country code |
contact_name | string | Optional | Primary contact person's name |
contact_phone | string | Optional | Contact phone number |
On success, returns a confirmation message:
{
"message": "Supplier updated successfully"
}PUT /v2/suppliers/{supplier_id}
- Productionhttps://api.shipstation.com/v2/suppliers/{supplier_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://api.shipstation.com/v2/suppliers/se-567 \
-H 'Content-Type: application/json' \
-H 'api-key: YOUR_API_KEY_HERE' \
-d '{
"supplier_name": "Acme Widgets Inc",
"supplier_email": "orders@acmewidgets.com",
"address_line_1": "123 Main St",
"address_line_2": "Suite 100",
"city": "Austin",
"state": "TX",
"postal_code": "78701",
"country_code": "US",
"contact_name": "John Doe",
"contact_phone": "512-555-0100"
}'supplier_namemust be provided and cannot be empty
supplier_emailmust be a valid email format if provided- Format:
name@domain.com
country_codemust be a valid ISO 3166-1 alpha-2 code- Examples: "US", "CA", "GB", "DE", "FR", "AU"
- No strict format required - use your preferred format
- Include country code for international numbers (+44, +1, etc.)
- Include extensions if needed (555-0100 ext 123)
Common errors when updating suppliers:
400 Bad Request
- Missing
supplier_name - Email format validation failure
- Invalid country code
404 Not Found
- Supplier ID not found
- Manage Suppliers - Overview of supplier operations
- Create Suppliers - Add new suppliers
- List Suppliers - Retrieve supplier information
- Create Purchase Orders - Order products from suppliers