Skala
Stock variant custom fields

Replace a stock variant custom field

Completely replaces the data of an existing stock variant custom field with the provided payload.

PUT
/api/stock_variant_custom_fields/{id}

Completely replaces the data of an existing stock variant custom field with the provided payload.

AuthorizationBearer <token>

In: header

Path Parameters

id*string

StockVariantCustomFields identifier

Request Body

application/json

The updated StockVariantCustomFields resource

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "https://api.skalasuite.com/api/stock_variant_custom_fields/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": 0,
  "collection": "/entity/1",
  "field": "/entity/1",
  "variant": "/entity/1",
  "value": "string"
}
Empty
Empty
Empty