Find the taxon
A Taxon is the API’s way of identifying a product’s category information, including the associated prototype. So, when creating an advert, the product must be associated with the correct Taxon to sync the right information. for more information, visit our seller API documentation.
Once you have the Taxon, you can define the API endpoint. For example,
ENDPOINT: {{base_url}}/api/v2/taxons/search?name=gaming
Payload: Details of the Taxon
Note that one of the Taxon's properties is the slug.
Find the brand
Like a Taxon, the Brand includes details about the product necessary for the advert to appear. So, when creating an advert, the product must be associated with the correct Brand to sync the right information. For more information, visit our Seller API documentation.
Once you have the brand, you can define a new API endpoint, for example
ENDPOINT: - {{base_url}}/api/v2/brands/search?name=Razer
Payload: Details of the brand
Note that one of the Brand's properties is the slug.
Define and execute the product endpoint
When we put the above together to create an advert ‘request’ through the API, we get:
ENDPOINT: {{base_url}}/api/v2/client/adverts
Request: POST
Payload: Includes details of the Taxon and Brand
Related articles