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

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

Path parameters

Body

Body

Body

PUT /self/{shopId}/products/bulk/update/custom-fields
curl \
 --request PUT 'https://dev.sellpass.io/self/{shopId}/products/bulk/update/custom-fields' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"productIds":[42],"customFields":[{"id":42,"type":1,"name":"string","required":true,"valueString":"string","placeholder":"string","regex":"string","valueInt":42,"valueBool":true}]}'
curl \
 --request PUT 'https://dev.sellpass.io/self/{shopId}/products/bulk/update/custom-fields' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: text/json"
curl \
 --request PUT 'https://dev.sellpass.io/self/{shopId}/products/bulk/update/custom-fields' \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/*+json"
Request examples
{
  "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
    }
  ]
}
Request examples
{
  "productIds": [
    42
  ],
  "customFields": [
    {
      "id": 42,
      "type": 1,
      "name": "string",
      "required": true,
      "valueString": "string",
      "placeholder": "string",
      "regex": "string",
      "valueInt": 42,
      "valueBool": true
    }
  ]
}