Create shipping profile
POST/v1/shipping-profiles
Create a new shipping profile for a site. The profile will be created on the e-commerce platform (Etsy/TikTok) and synced to Dodgeprint. IMPORTANT FOR ETSY: Etsy sites have strict validation - shipping_carrier_id and mail_class must exist in the database (use GET /v1/countries/{country_iso}/shipping-carriers to get valid values). Other platforms have relaxed validation for backwards compatibility.
Request
Responses
- 200
- 400
- 401
- 422
Shipping profile created successfully
Validation error or profile already exists
Unauthenticated
Validation errors (Etsy sites have strict validation for carrier/mail_class, other platforms have relaxed validation). Common errors: missing required fields, invalid carrier_id/mail_class combination, mutual exclusivity violation (mail_class vs delivery_days)