Push sellers
POST/api/integration/sellers
Add details such as name, e-mail, tax rate and language to the sellers your products name.
Products are the primary data: advertisers are opened from your products by the setup rule agreed for your market, per seller or per brand. Seller records are optional and can be sent at any time, before or after the products. A seller is matched to products by its id, the code the products carry as seller_ref.
Each seller sent appears under Catalog › Sellers in the console.
Payload at a glance
{
// required · Your domain id: the number of your market on GoWit
"domain_id": 1001,
// required · The sellers to create or update
"sellers": [
{
// required · Your seller id
"id": "ADV001",
// required · Seller name
"name": "Outdoor Brand",
// optional · Contact e-mail of the seller
"email": "sample_outdoor_brand@example.com",
// required · The seller status in your marketplace
"status": "ACTIVE"
},
// … 2 more
]
}
Every field, with types and formats, is listed under Body below.
Limits
- 1 to 100,000 sellers and at most 100 MiB per request.
Errors
| Status | Message | What it means |
|---|---|---|
| 400 | Invalid request body | The body cannot be read, or domain_id is missing, 0 or not a number. |
| 400 | Wrong Type Unsupported Content-Type. Use application/json | The content type is neither JSON nor valid XML of this push. |
| 400 | Wrong Type JSON parse error | sellers is not an array. |
| 400 | Wrong Type At least 1 sellers must be sent | The list is empty. |
| 400 | Wrong Type Maximum 100000 sellers can be sent | Split the push into several requests. |
| 401 | Unauthorized: Authorization header is required | No API key was sent. |
| 401 | Unauthorized: Invalid API key | The key is wrong, lacks the integration scope, or the domain_id is not its market’s. |
| 413 | Request body too large. | The body is over 100 MiB. |
| 503 | Push source not set up. | Push API is not chosen yet for this entity in the console Setup center. Ask GoWit. |
| 500 | Encountered an unknown error. | Temporary failure, or an Idempotency-Key reused with a different body. |
Request
Responses
- 200
- 503
Accepted. Accepted is not yet ingested: each record is validated afterwards. Held-back records show on the run in the console.
Not set up