Body
-
productIds
array[integer(int64)] | null -
customFields
array[object] | null
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"
{
"productIds": [
42
],
"customFields": [
{
"id": 42,
"type": 1,
"name": "string",
"required": true,
"valueString": "string",
"placeholder": "string",
"regex": "string",
"valueInt": 42,
"valueBool": true
}
]
}
{
"productIds": [
42
],
"customFields": [
{
"id": 42,
"type": 1,
"name": "string",
"required": true,
"valueString": "string",
"placeholder": "string",
"regex": "string",
"valueInt": 42,
"valueBool": true
}
]
}
{
"productIds": [
42
],
"customFields": [
{
"id": 42,
"type": 1,
"name": "string",
"required": true,
"valueString": "string",
"placeholder": "string",
"regex": "string",
"valueInt": 42,
"valueBool": true
}
]
}