PUT /price-list-variants/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
compareAtPrice number | null
Compare at price
-
createdAt string(date-time)
Created at
-
hash string | null
Hash
-
id integer(int32)
Id
-
Price
-
Price list
-
priceListImportId integer(int32) | null
Price list import
-
Sku
-
updatedAt string(date-time)
Updated at
-
variantId integer(int32) | null
Variant
PUT /price-list-variants/{id}.json
curl \
-X PUT http://api.example.com/v1/price-list-variants/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"compareAtPrice":42.0,"createdAt":"2024-05-04T09:42:00+00:00","hash":"string","id":42,"price":42.0,"priceListId":42,"priceListImportId":42,"sku":"string","updatedAt":"2024-05-04T09:42:00+00:00","variantId":42}'
Request example
{
"compareAtPrice": 42.0,
"createdAt": "2024-05-04T09:42:00+00:00",
"hash": "string",
"id": 42,
"price": 42.0,
"priceListId": 42,
"priceListImportId": 42,
"sku": "string",
"updatedAt": "2024-05-04T09:42:00+00:00",
"variantId": 42
}