Skip to main content

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

StatusMessageWhat it means
400Invalid request bodyThe body cannot be read, or domain_id is missing, 0 or not a number.
400Wrong Type Unsupported Content-Type. Use application/jsonThe content type is neither JSON nor valid XML of this push.
400Wrong Type JSON parse errorsellers is not an array.
400Wrong Type At least 1 sellers must be sentThe list is empty.
400Wrong Type Maximum 100000 sellers can be sentSplit the push into several requests.
401Unauthorized: Authorization header is requiredNo API key was sent.
401Unauthorized: Invalid API keyThe key is wrong, lacks the integration scope, or the domain_id is not its market’s.
413Request body too large.The body is over 100 MiB.
503Push source not set up.Push API is not chosen yet for this entity in the console Setup center. Ask GoWit.
500Encountered an unknown error.Temporary failure, or an Idempotency-Key reused with a different body.

Request​

Responses​

Accepted. Accepted is not yet ingested: each record is validated afterwards. Held-back records show on the run in the console.