Update a retailer
PATCH
/v1/retailers/{id}Auth: Factory API key
Path parameters
| Name | Type | Description |
|---|---|---|
idrequired | string | · |
Request body
| Field | Type | Description |
|---|---|---|
name | string | · |
email | string (email) | · |
delivery_days | string | · |
can_order | boolean | · |
show_prices | boolean | · |
Response
200
Code samples
curl -X PATCH "https://api.skuflo.io/v1/retailers/id_9c1a4e" \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{
"name": "Sam Retailer",
"email": "ops@your-retailer.example",
"delivery_days": "Mon,Wed,Fri",
"can_order": true,
"show_prices": true
}'