Get product and price by sku

Retrieves product and price details, along with its child products' details if there are any, by specific sku and priceListId. If price details are not set up previously, it only retrieves the product information; price details are not returned in such cases.

SecurityAuthorizationToken
Request
path Parameters
sku
required
string

SKU of the product whose details are to be retrieved. If the product has child products, details of the child products are also retrieved.

query Parameters
priceListId
string

Get product by ID in a given price list. If priceListId is not provided, default priceList is selected to search the details for. If the sku doesn't belong to the default price list, price details are not returned.

limit
number >= 1
Default: 10

Number of records returned on a single page

offset
number >= 0
Default: 0

Number of records to be skipped before selecting records

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

get/api-offers/get-product/{sku}
Response samples
application/json
{
  • "id": "60c789cfe6e0910008fdcd19",
  • "channel": [
    ],
  • "startDate": "2021-06-14T16:53:56.020Z",
  • "endDate": "2021-06-14T16:53:56.020Z",
  • "group": [
    ],
  • "imageSetOnAttributes": [],
  • "isDefault": true,
  • "isActive": true,
  • "isSoftDeleted": false,
  • "title": "Oval shaped table",
  • "itemFamily": {
    },
  • "sku": "Ovaltable101",
  • "description": "Oval shaped table used as home furniture",
  • "state": "READY",
  • "itemId": 1000000269,
  • "attributes": [
    ],
  • "variants": [
    ],
  • "createdAt": "2021-06-14T16:54:39.461Z",
  • "updatedAt": "2021-06-14T16:54:39.461Z",
  • "items": [
    ],
  • "price": {
    },
  • "priceRange": {
    },
  • "livePrice": [
    ],
  • "promoDates": {
    }
}