Set up the API connection
Before you can add products via the API, set up the integration. See the full instructions here.
API terms
Some terms that will be referred to in this section might be unfamiliar. Sometimes the API term is different from the Marketplacer general interface terms.
- Taxon - Marketplacer's API word for a product category including prototypes.
- Slug - Marketplacer's word for non-numeric product identifiers.
Minimum requirements for adding a product
When adding a product, there is a minimum amount of information required for the product to appear in Marketplacer successfully. To learn more about additional requirements, see Publish the product as an advert.
Two options for adding products
OPTION 1: Select the appropriate taxon & brand with the API only.
- Find the appropriate taxon and brand slugs by using the Taxon API and Brand API.
- Submit the advert to /api/v2/client/adverts as below, using the taxon_slug and brand_slug attributes.
OPTION 2: Select the appropriate taxon & brand using the client admin in Marketplacer.
- Submit the advert to /api/v2/client/adverts using the map_taxon and map_brand attributes.
- In the Marketplacer client admin/client/mappings, relate these values to the corresponding Marketplacer taxon and brand.
Related articles