POST /price-lists.json

POST /price-lists.json
application/json

Body Required

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
POST /price-lists.json
curl \
 -X POST http://api.example.com/v1/price-lists.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"cacheImport":true,"compareAtPriceHeader":"string","comparePrevious":true,"currencyId":42,"delimiter":"string","importFromUrl":true,"importSeconds":42,"importUrl":"string","lastFetchedAt":"2024-05-04T09:42:00+00:00","lastFetchedFile":"string","name":"string","parseNumber":true,"priceHeader":"string","skuHeader":"string","status":"active","type":"sale","zeroCompareAtPrices":true}'
Request example
{
  "cacheImport": true,
  "compareAtPriceHeader": "string",
  "comparePrevious": true,
  "currencyId": 42,
  "delimiter": "string",
  "importFromUrl": true,
  "importSeconds": 42,
  "importUrl": "string",
  "lastFetchedAt": "2024-05-04T09:42:00+00:00",
  "lastFetchedFile": "string",
  "name": "string",
  "parseNumber": true,
  "priceHeader": "string",
  "skuHeader": "string",
  "status": "active",
  "type": "sale",
  "zeroCompareAtPrices": true
}
Response examples (200)
{
  "cacheImport": true,
  "compareAtPriceHeader": "string",
  "comparePrevious": true,
  "createdAt": "2024-05-04T09:42:00+00:00",
  "currencyId": 42,
  "delimiter": "string",
  "id": 42,
  "importFromUrl": true,
  "importSeconds": 42,
  "importUrl": "string",
  "lastFetchedAt": "2024-05-04T09:42:00+00:00",
  "lastFetchedFile": "string",
  "name": "string",
  "parseNumber": true,
  "priceHeader": "string",
  "skuHeader": "string",
  "status": "active",
  "type": "sale",
  "updatedAt": "2024-05-04T09:42:00+00:00",
  "zeroCompareAtPrices": true
}