Przejdź do głównej zawartości

Utwórz producenta

POST
/api/manufacturers/v2/products-manufacturers
curl --request POST \
--url https://twoja-instancja-pim-api.enterprise.sellrocket.pl/api/manufacturers/v2/products-manufacturers \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "id": 1, "name": "example" }'

Dodaje nowego producenta. Odpowiednik addInventoryManufacturer w BaseLinker.

object
id
integer format: int64
nullable
name
wymagane
string
nullable
Examplegenerated
{
"id": 1,
"name": "example"
}

Success

integer format: int64