firestarter_save_ship_from
Create or update seller ship-from locations to set the origin for shipping rate quotes. Make a location primary to drive all quote origins.
Instructions
Add or update a seller ship-from (fulfillment) location — the address shipping rates are quoted FROM. Three forms: (1) no location_id → create (street1 + city required; state/zip also required for US/CA/AU origins); (2) location_id + address fields → update that location; (3) location_id + is_primary true and NO address fields → just make it the primary. Set is_primary on the address parcels actually dispatch from — the primary drives every quote's origin. Seller accounts only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | Postal/ZIP — required for US/CA/AU origins | |
| city | No | City (required when creating) | |
| label | No | Label, e.g. 'Bangkok warehouse' | |
| phone | No | Pickup contact phone | |
| state | No | State/province — required for US/CA/AU origins | |
| country | No | ISO country code (e.g. US, TH). Defaults to US. | |
| street1 | No | Street address line 1 (required when creating) | |
| street2 | No | Street address line 2 | |
| is_primary | No | Make this the primary (rate-quote origin). | |
| location_id | No | Existing location id (floc_...) to update or promote. Omit to create a new location. |