PUT /self/{shopId}/products/bulk/update/custom-fields
Body
-
productIds array[integer(int64)] | null
-
customFields array[object] | null
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
}
]
}