Skip to main content

Push products

POST 

/api/integration/products

Create or update the products advertisers can promote.

Products are the primary data of your integration. Your advertisers are opened from them by your market’s setup rule: one per seller (seller_ref) or one per brand. Send the full catalog each time or only the products that changed: the push is an upsert.

Integrated products appear under Catalog › Products in the console and in the product step of campaign setup. Their retailer_taxonomy builds the category tree used for category targeting.

A product is identified by id and seller_ref: two sellers sending the same id make two offers.

Payload at a glance​

{
// required · Your domain id: the number of your market on GoWit
"domain_id": 1001,
// required · The products to create or update
"products": [
{
// required · Your product code, shared by GoWit and you
"id": "P30001",
// required · Lets advertisers search for the product when they build a campaign
"name": "Waterproof Hiking Boots",
// required · The code of the seller that offers the product
"seller_ref": "ADV001",
// required · Product image, shown in the campaign setup product list so advertisers can tell products apart
"image_url": "https://cdn.example.com/p/P30001.jpg",
// optional · Product description
"description": "Durable waterproof hiking boots built for long-distance trekking on rugged terrain.",
// optional · Current price
"price": 129.99,
// optional · Units in stock
"stock": 95,
// optional · Average shopper rating, e.g. 4.7
"rating": 4.7,
// optional · Whether this seller currently holds the buy box for the product
"buybox": true,
// required for per-brand rule · Brand name
"brand": "TrailMaster",
// optional · The product category in your marketplace, e.g. Outdoor>Footwear>Hiking Boots
"retailer_taxonomy": "Outdoor>Footwear>Hiking Boots",
// required · Availability in your marketplace
"status": "ACTIVE"
},
// … 1 more
]
}

Every field, with types and formats, is listed under Body below.

Limits

  • 1 to 100,000 products and at most 100 MiB per request, ingested in parts of 10,000.
  • Records missing id, seller_ref, name, image_url or status are held back (missing_required_fields); the others are taken.

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 errorproducts is not an array.
400Wrong Type At least 1 products must be sentThe list is empty.
400Wrong Type Maximum 100000 products 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. Records missing a required field are held back on the run, the rest are taken.