ProductMasterData

Add or update product master data. Update is triggered if {suppliername, productno, industry, country} matches existing item

post/productmasterdata

Request

  • Base URL
    https://api.c1st.com/api
  • URL
    https://api.c1st.com/api/productmasterdata
  • Auth
    HTTP bearer

Request body

idinteger nullable

A unique entry ID

suppliernamestring required

Name of supplier

tagsstring[] nullable
titlestring

Name of product

productnostring required

Product id

barcodestring nullable

Barcode

alternativebarcodestring nullable

Barcode

brandstring nullable

Brand

suggestedpricenumber double nullable

Maps to Product.price

pricenumber double nullable

Maps to Product.costprice

colorstring nullable

Color

sizestring nullable

Size

stylenostring nullable

Style number

vatnumber double nullable

VAT in percent

industrystring required

Industry. Examples: bikeshop, garden, phone, jewelry, generic.

countrystring required

Country. Examples: dk, en.

yearinteger nullable

Year

stockinteger nullable

The quantity of this product in suppliers stock

stockupdatedstring nullable

The date time when the stock quantity was valid

imageurlstring nullable

The url from which to fetch the image

webshopurlstring nullable

The url of the product in the webshop

lastupdatestring nullable

Date time of the last time this entry was updated

customfield1string nullable
customfield2string nullable
customfield3string nullable
customfield4string nullable

Example request

{
  "suppliername": "DanishBikeSupplier",
  "vat": 25,
  "industry": "bikeshop",
  "country": "dk",
  "year": 2019,
  "stock": 20,
  "stockupdated": "2025-04-27T14:04:58",
  "imageurl": "https://picsum.photos/id/674/3888/2592.jpg",
  "webshopurl": "https://example.com/products/123",
  "customfield1": "Gear",
  "customfield2": "123123",
  "customfield3": "123123",
  "customfield4": "Gold wheels"
}

Response

Ok

statusstring

Example response

{
  "content": {
    "suppliername": "DanishBikeSupplier",
    "vat": 25,
    "industry": "bikeshop",
    "country": "dk",
    "year": 2019,
    "stock": 20,
    "stockupdated": "2025-04-27T14:04:58",
    "imageurl": "https://picsum.photos/id/674/3888/2592.jpg",
    "webshopurl": "https://example.com/products/123",
    "customfield1": "Gear",
    "customfield2": "123123",
    "customfield3": "123123",
    "customfield4": "Gold wheels"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.