PUT /self/{shopId}/products/bulk/update/custom-fields

PUT /self/{shopId}/products/bulk/update/custom-fields

Path parameters

Body

PUT /self/{shopId}/products/bulk/update/custom-fields
curl \
 -X PUT https://dev.sellpass.io/self/{shopId}/products/bulk/update/custom-fields \
 -H "Authorization: $API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"productIds":[42],"customFields":[{"id":42,"type":1,"name":"string","required":true,"valueString":"string","placeholder":"string","regex":"string","valueInt":42,"valueBool":true}]}'
Request example
{
  "productIds": [
    42
  ],
  "customFields": [
    {
      "id": 42,
      "type": 1,
      "name": "string",
      "required": true,
      "valueString": "string",
      "placeholder": "string",
      "regex": "string",
      "valueInt": 42,
      "valueBool": true
    }
  ]
}
Request examples
{
  "productIds": [
    42
  ],
  "customFields": [
    {
      "id": 42,
      "type": 1,
      "name": "string",
      "required": true,
      "valueString": "string",
      "placeholder": "string",
      "regex": "string",
      "valueInt": 42,
      "valueBool": true
    }
  ]
}