Add new suppliers to your account with company and contact information. Suppliers are used when creating purchase orders to identify where products are being ordered from.
Use the POST method with /v2/suppliers to create a new supplier with company and contact information.
| 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 an object with the newly created supplier_id:
{
"supplier_id": "se-567"
}POST /v2/suppliers
- Productionhttps://api.shipstation.com/v2/suppliers
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.shipstation.com/v2/suppliers \
-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_nameuniq supplier name must 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 creating suppliers:
400 Bad Request
- Missing
supplier_name - Invalid country code
- Email format validation failure
Collect Information
- Get official name and email from supplier
- Request complete address for shipping origin tracking
- Obtain primary contact details
Create Supplier Record
POST /v2/suppliers { "supplier_name": "New Vendor Co", "supplier_email": "orders@newvendor.com", ... }Store Supplier ID
- Save the returned
supplier_id - Use in future purchase orders
- Save the returned
Create First Purchase Order
- Test the supplier by creating a purchase order
- Manage Suppliers - Overview of supplier operations
- Update Suppliers - Update existing supplier information
- Create Purchase Orders - Order products from suppliers