Delete a specific price list

Delets a price list by priceListId.

SecurityAuthorizationToken
Request
path Parameters
priceListId
required
number

Price list ID

Example: 10000003
header Parameters
required
object

Valid JSON object that must contain account, stage, date, and channel attributes. eg - {"stage":"prod","account":"5f328bf0b","date":"2020-12-12T08:00:00.000Z","channel":12}

Authorization
required
string

Authorization token or access token for the user, provided by fabric. It can be obtained after logging into fabric's copilot account.

Example: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...
Responses
200

OK

404

Not Found

500

Internal Server Error

delete/api-offers/price-list/{priceListId}
Response samples
application/json
{
  • "_id": "614b58924e92f6861ac9d43b",
  • "priceListId": 10000003,
  • "name": "BuildMuscles-CONTRACT123",
  • "isDefault": false,
  • "currency": "CAD",
  • "startDate": "2021-05-04T09:23:51.459Z",
  • "endDate": "2021-06-09T09:23:51.459Z",
  • "deleted": true,
  • "createdAt": "2020-12-14T12:15:43.646Z",
  • "updatedAt": "2021-12-14T12:15:43.646Z"
}