Send products and sellers by API
Push your products first. Sellers are optional and can follow at any time.
- GoWit chooses Push API for products (and sellers, if you send them) in the console Setup center. Until then a push is answered
503 Push source not set up. - You need an API key with the
integrationscope. - GoWit shares your
domain_idand your stage host.
Product integration
Send the products advertisers promote. This is the one push every integration needs: your advertisers are opened from these products by your market's setup rule, per seller (seller_ref) or per brand. You can send the full catalog each time or only the products that changed.
POST /api/integration/products · Full reference
- cURL
- Node.js
- Python
curl --request POST 'https://xxx.edge-stage.gowit.app/api/integration/products' \
--header 'Authorization: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"domain_id": 1001,
"products": [
{
"id": "P30001",
"name": "Waterproof Hiking Boots",
"seller_ref": "ADV001",
"image_url": "https://cdn.example.com/p/P30001.jpg",
"description": "Durable waterproof hiking boots built for long-distance trekking on rugged terrain.",
"price": 129.99,
"stock": 95,
"rating": 4.7,
"buybox": true,
"brand": "TrailMaster",
"retailer_taxonomy": "Outdoor>Footwear>Hiking Boots",
"status": "ACTIVE"
},
{
"id": "P30006",
"name": "Thermal Hiking Socks (3-Pack)",
"seller_ref": "ADV001",
"image_url": "https://cdn.example.com/p/P30006.jpg",
"price": 19.99,
"stock": 300,
"brand": "SummitGear",
"retailer_taxonomy": "Outdoor>Accessories>Socks",
"status": "DELETED"
}
]
}'
const res = await fetch('https://xxx.edge-stage.gowit.app/api/integration/products', {
method: 'POST',
headers: {
"Authorization": "YOUR_API_KEY",
"Content-Type": "application/json"
},
body: JSON.stringify({
"domain_id": 1001,
"products": [
{
"id": "P30001",
"name": "Waterproof Hiking Boots",
"seller_ref": "ADV001",
"image_url": "https://cdn.example.com/p/P30001.jpg",
"description": "Durable waterproof hiking boots built for long-distance trekking on rugged terrain.",
"price": 129.99,
"stock": 95,
"rating": 4.7,
"buybox": true,
"brand": "TrailMaster",
"retailer_taxonomy": "Outdoor>Footwear>Hiking Boots",
"status": "ACTIVE"
},
{
"id": "P30006",
"name": "Thermal Hiking Socks (3-Pack)",
"seller_ref": "ADV001",
"image_url": "https://cdn.example.com/p/P30006.jpg",
"price": 19.99,
"stock": 300,
"brand": "SummitGear",
"retailer_taxonomy": "Outdoor>Accessories>Socks",
"status": "DELETED"
}
]
}),
})
if (res.status === 204) {
console.log('No content')
} else {
console.log(res.status, await res.text())
}
import requests
url = "https://xxx.edge-stage.gowit.app/api/integration/products"
headers = {
"Authorization": "YOUR_API_KEY",
"Content-Type": "application/json",
}
payload = {
"domain_id": 1001,
"products": [
{
"id": "P30001",
"name": "Waterproof Hiking Boots",
"seller_ref": "ADV001",
"image_url": "https://cdn.example.com/p/P30001.jpg",
"description": "Durable waterproof hiking boots built for long-distance trekking on rugged terrain.",
"price": 129.99,
"stock": 95,
"rating": 4.7,
"buybox": True,
"brand": "TrailMaster",
"retailer_taxonomy": "Outdoor>Footwear>Hiking Boots",
"status": "ACTIVE",
},
{
"id": "P30006",
"name": "Thermal Hiking Socks (3-Pack)",
"seller_ref": "ADV001",
"image_url": "https://cdn.example.com/p/P30006.jpg",
"price": 19.99,
"stock": 300,
"brand": "SummitGear",
"retailer_taxonomy": "Outdoor>Accessories>Socks",
"status": "DELETED",
},
],
}
response = requests.request("POST", url, headers=headers, json=payload, timeout=10)
print(response.status_code, response.text)
The answer is 200 with a request_id. Accepted is not yet ingested: each record is validated afterwards, and a record that misses a required field is held back on its run while the records beside it are taken.
Product fields
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Your product code, shared by GoWit and you. It goes in the products array of ad requests and in sale events, where it links each sale to an ad. Send it as a string. |
name | string | Yes | Lets advertisers search for the product when they build a campaign. |
seller_ref | string | Yes | The code of the seller that offers the product. Under a per-seller setup rule it decides the product’s advertiser. It is only a code: no seller record has to be sent, and one sent later is linked automatically. |
image_url | url | Yes | Product image, shown in the campaign setup product list so advertisers can tell products apart. |
status | string | Yes | Availability in your marketplace. A DELETED product is made inactive, never removed. (active, 1 and true in any case also mean active.) One of ACTIVE, DELETED. |
sku | string | No | Optional storefront code. A sponsored product ad answers it as product_id. Without a sku, the id is used so the two stay the same. Default the product id. |
retailer_taxonomy | string | No | The product category in your marketplace, e.g. Outdoor>Footwear>Hiking Boots. It fills the category list used for category targeting and relevance. Strongly recommended. |
retailer_taxonomy_id_structure | string | No | Your category ids for the same steps, e.g. 10>1010>101010. Paired with retailer_taxonomy to build the category tree with your ids. The step counts must match. |
retailer_taxonomies | object[] | No | More category paths for a product listed in several categories. The first one is the primary. |
retailer_taxonomies[].taxonomy | string | Yes | Category path, as in retailer_taxonomy. |
retailer_taxonomies[].id_structure | string | No | Ids for the same steps. |
description | string | No | Product description. |
price | number | No | Current price. A number or a numeric string. |
stock | integer | No | Units in stock. Products out of stock are not advertised. |
stock_levels | object[] | No | Per-store price and stock, for multi-location markets. Top-level price and stock still apply where a store has none of its own. |
stock_levels[].location_id | string | Yes | Your store code. An element without it is rejected on its own; the product and its other stores still land. |
stock_levels[].price | number | No | Price at this store. Not sent = unchanged. 0 = free. |
stock_levels[].sale_price | number | No | Discounted price at this store. |
stock_levels[].currency | string | No | Currency of the store prices. |
stock_levels[].stock | integer | No | Units in stock at this store. Not sent = unknown. 0 = out of stock. |
stock_levels[].availability | string | No | Availability text at this store, e.g. in_stock or out_of_stock. |
brand | string | When per-brand rule | Brand name. Under a per-brand setup rule each brand becomes one advertiser, so send it on every product. Spell a brand the same way everywhere. |
rating | number | No | Average shopper rating, e.g. 4.7. |
buybox | boolean | No | Whether this seller currently holds the buy box for the product. |
barcode | string | No | GTIN / EAN / UPC barcode. |
pdp_url | url | No | Product page URL on your storefront. |
google_taxonomy | string | No | Google product category, when you have it. |
filters | string[] | No | Product labels that ad requests can filter on (see placements[].filters in Request ads). |
On the push API every product carries an seller_ref, the code of the seller that offers it. It is only a code: no seller record has to exist. Under a per-brand rule it still keeps two sellers' offers of one product apart.
One request carries at most 100,000 products (100 MiB), taken in parts of 10,000.
XML body
The same envelope can be sent as XML with Content-Type: application/xml: root <products>, one <domain_id>, then one <product> per record.
<products>
<domain_id>1001</domain_id>
<product>
<id>P30001</id>
<name>Waterproof Hiking Boots</name>
<seller_ref>ADV001</seller_ref>
<brand>TrailMaster</brand>
<image_url>https://cdn.example.com/p/P30001.jpg</image_url>
<retailer_taxonomy>Outdoor>Footwear>Hiking Boots</retailer_taxonomy>
<price>129.99</price>
<status>ACTIVE</status>
</product>
</products>
Multi-location stock
Send per-store price and stock in stock_levels, each element with its location_id. Top-level price and stock are still read where a store has none of its own.
| Field | Type | Required | Description |
|---|---|---|---|
location_id | string | Yes | Your store code. An element without it is rejected on its own; the product and its other stores still land. |
price | number | No | Price at this store. Not sent = unchanged. 0 = free. |
sale_price | number | No | Discounted price at this store. |
currency | string | No | Currency of the store prices. |
stock | integer | No | Units in stock at this store. Not sent = unknown. 0 = out of stock. |
availability | string | No | Availability text at this store, e.g. in_stock or out_of_stock. |
Full sync
To remove products you no longer sell without sending each one as DELETED, run a full sync: send X-Process-ID: sync-2026-11-20 on every push of the sync, then end it.
PATCH /api/integration/products · Full reference
- cURL
- Node.js
- Python
curl --request PATCH 'https://xxx.edge-stage.gowit.app/api/integration/products' \
--header 'Authorization: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"domain_id": 1001,
"process_id": "sync-2026-11-20",
"status": "ACTIVE"
}'
const res = await fetch('https://xxx.edge-stage.gowit.app/api/integration/products', {
method: 'PATCH',
headers: {
"Authorization": "YOUR_API_KEY",
"Content-Type": "application/json"
},
body: JSON.stringify({
"domain_id": 1001,
"process_id": "sync-2026-11-20",
"status": "ACTIVE"
}),
})
if (res.status === 204) {
console.log('No content')
} else {
console.log(res.status, await res.text())
}
import requests
url = "https://xxx.edge-stage.gowit.app/api/integration/products"
headers = {
"Authorization": "YOUR_API_KEY",
"Content-Type": "application/json",
}
payload = {
"domain_id": 1001,
"process_id": "sync-2026-11-20",
"status": "ACTIVE",
}
response = requests.request("PATCH", url, headers=headers, json=payload, timeout=10)
print(response.status_code, response.text)
Once every run of the sync completes, products it never named are made inactive. If a run fails, nothing is made inactive. A process with no push for 24 hours expires and changes nothing.
Checklist
- The product push is created and sent to GoWit. (Retailer)
- The setup rule (per seller or per brand) is agreed and activated. (GoWit)
- The products appear in the console and in campaign setup, and their advertisers in the Onsite app. (Retailer)
Seller integration (optional)
Sellers add details to the advertisers your products already created: a display name, a contact e-mail, a tax rate and a language. Send them whenever you like, before or after the products. A seller's id is the code your products carry as seller_ref, matched exactly, including case.
POST /api/integration/sellers · Full reference
- cURL
- Node.js
- Python
curl --request POST 'https://xxx.edge-stage.gowit.app/api/integration/sellers' \
--header 'Authorization: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"domain_id": 1001,
"sellers": [
{
"id": "ADV001",
"name": "Outdoor Brand",
"email": "sample_outdoor_brand@example.com",
"status": "ACTIVE"
},
{
"id": "ADV002",
"name": "Another Advertiser",
"email": "another_advertiser@example.com",
"status": "ACTIVE"
},
{
"id": "ADV003",
"name": "Clothing Brand",
"email": "clothing_brand@example.com",
"status": "DELETED"
}
]
}'
const res = await fetch('https://xxx.edge-stage.gowit.app/api/integration/sellers', {
method: 'POST',
headers: {
"Authorization": "YOUR_API_KEY",
"Content-Type": "application/json"
},
body: JSON.stringify({
"domain_id": 1001,
"sellers": [
{
"id": "ADV001",
"name": "Outdoor Brand",
"email": "sample_outdoor_brand@example.com",
"status": "ACTIVE"
},
{
"id": "ADV002",
"name": "Another Advertiser",
"email": "another_advertiser@example.com",
"status": "ACTIVE"
},
{
"id": "ADV003",
"name": "Clothing Brand",
"email": "clothing_brand@example.com",
"status": "DELETED"
}
]
}),
})
if (res.status === 204) {
console.log('No content')
} else {
console.log(res.status, await res.text())
}
import requests
url = "https://xxx.edge-stage.gowit.app/api/integration/sellers"
headers = {
"Authorization": "YOUR_API_KEY",
"Content-Type": "application/json",
}
payload = {
"domain_id": 1001,
"sellers": [
{
"id": "ADV001",
"name": "Outdoor Brand",
"email": "sample_outdoor_brand@example.com",
"status": "ACTIVE",
},
{
"id": "ADV002",
"name": "Another Advertiser",
"email": "another_advertiser@example.com",
"status": "ACTIVE",
},
{
"id": "ADV003",
"name": "Clothing Brand",
"email": "clothing_brand@example.com",
"status": "DELETED",
},
],
}
response = requests.request("POST", url, headers=headers, json=payload, timeout=10)
print(response.status_code, response.text)
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Your seller id. It must match the seller_ref on every product of this seller exactly, including case. Surrounding spaces are trimmed. |
name | string | Yes | Seller name. Admins find the advertiser by it when they create campaigns, review results or fund budgets. |
status | string | Yes | The seller status in your marketplace. DELETED makes the seller inactive; nothing is ever removed. One of ACTIVE, DELETED. |
email | No | Contact e-mail of the seller. Written only when the seller is first created, never updated afterwards. | |
tax_rate | number | No | VAT rate of the advertiser, as a percent: 20 means 20 %. Kept unchanged when not sent. |
language | string | No | Preferred language of the seller, e.g. en or en-GB. An unknown code is ignored. |
Every seller sent appears under Catalog › Sellers in the console. Under a per-seller rule its name becomes the advertiser's name.
Checklist
- The seller push is created and sent to GoWit (optional). (Retailer)
- The sellers appear in the console with their details. (Retailer)