POST /price-list-variants.json

POST /price-list-variants.json
application/json

Body Required

Responses

POST /price-list-variants.json
curl \
 -X POST http://api.example.com/v1/price-list-variants.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"compareAtPrice":42.0,"hash":"string","price":42.0,"priceListId":42,"priceListImportId":42,"sku":"string","variantId":42}'
Request example
{
  "compareAtPrice": 42.0,
  "hash": "string",
  "price": 42.0,
  "priceListId": 42,
  "priceListImportId": 42,
  "sku": "string",
  "variantId": 42
}
Response examples (200)
{
  "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
}