Skip to main content

Invoke action BulkUpdate

POST 

https://api.elfsquad.io/data/1/FeaturesPivot/Default.BulkUpdate

Invoke action BulkUpdate

Request

Bodyrequired

Action parameters

    entities object[]
  • Array [
  • namestring
    articleCodestring
    type
    salesPricedecimal
    disallowDiscountboolean
    minValuedecimal
    maxValuedecimal
    stepValuedecimal
    packingUnitdecimal
    categoryIduuid
    marginPctdecimal
    cardImageUrlstring
    vatIduuid
    unitOfMeasurementIduuid
    tagsstring[]
    _subcategoryIdsuuid[]

    Possible values: Value must match regular expression ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

    isRecommendationboolean
    iduuid
    createdDatedate-time
    updatedDatedate-time
    organizationIduuid
    referencestring
    creatorIduuid
    customField1string
    customField2string
    customField3string
    customField4string
    customField5string
    category
    organization
  • ]

Responses

Success

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.elfsquad.io/data/1/FeaturesPivot/Default.BulkUpdate");
var content = new StringContent("{\n \"entities\": [\n {\n \"name\": \"string\",\n \"articleCode\": \"string\",\n \"type\": {},\n \"salesPrice\": 0,\n \"disallowDiscount\": true,\n \"minValue\": 0,\n \"maxValue\": 0,\n \"stepValue\": 0,\n \"packingUnit\": 0,\n \"categoryId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"marginPct\": 0,\n \"cardImageUrl\": \"string\",\n \"vatId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"unitOfMeasurementId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"tags\": [\n \"string\"\n ],\n \"_subcategoryIds\": [\n \"3fa85f64-5717-4562-b3fc-2c963f66afa6\"\n ],\n \"isRecommendation\": true,\n \"id\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"createdDate\": \"2024-07-29T15:51:28.071Z\",\n \"updatedDate\": \"2024-07-29T15:51:28.071Z\",\n \"organizationId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"reference\": \"string\",\n \"creatorId\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"customField1\": \"string\",\n \"customField2\": \"string\",\n \"customField3\": \"string\",\n \"customField4\": \"string\",\n \"customField5\": \"string\",\n \"category\": {},\n \"organization\": {}\n }\n ]\n}", null, "application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://api.elfsquad.io/data/1
Body required
{
  "entities": [
    {
      "name": "string",
      "articleCode": "string",
      "type": {},
      "salesPrice": 0,
      "disallowDiscount": true,
      "minValue": 0,
      "maxValue": 0,
      "stepValue": 0,
      "packingUnit": 0,
      "categoryId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "marginPct": 0,
      "cardImageUrl": "string",
      "vatId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "unitOfMeasurementId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "tags": [
        "string"
      ],
      "_subcategoryIds": [
        "3fa85f64-5717-4562-b3fc-2c963f66afa6"
      ],
      "isRecommendation": true,
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "createdDate": "2024-07-29T15:51:28.071Z",
      "updatedDate": "2024-07-29T15:51:28.071Z",
      "organizationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "reference": "string",
      "creatorId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "customField1": "string",
      "customField2": "string",
      "customField3": "string",
      "customField4": "string",
      "customField5": "string",
      "category": {},
      "organization": {}
    }
  ]
}
ResponseClear

Click the Send API Request button above and see the response here!