Bulk Create Categories
POST https://{{axpAPIDomain}}/api/admin/match/v1/accounts/:accountId/categories:bulkCreate
Bulk creates categories and their attributes.
Request Body
{"0"=>{"name"=>"Language", "attributes"=>[{"value"=>"French"}, {"value"=>"German"}]}, "1"=>{"name"=>"Product", "attributes"=>[{"value"=>"Mobile"}, {"value"=>"Landline"}]}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
appkey | string | ||
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
[{"categoryId":"4331fa35-9671-4ea0-94e0-517097a5a13a","name":"Language","attributes":[{"value":"English","name":"Language.English"},{"value":"French","name":"Language.French"}]},{"categoryId":"a730d229-c386-43df-9241-b5191af2725c","name":"Product","attributes":[{"value":"Landline","name":"Product.Landline"}]}]