Retrieves products from the Competition Data table.
Please note: Returns the entire Competition Data table. The table can grow very large when no mechanism is put in place to delete stale records, and if you employ multiple data providers, this will return all data, irrespective of the source.
Additionally to the regular /fetch command, this command supports (i.e. transparently handles) also global data as configured. This means that if, for example, the product competition data is configured to come from the global partition, this command will retrieve it from there. The regular fetch command will always only return data for the local partition.
Required Permission | Roles with the Required Permission |
---|---|
PRODUCTCOMPETITION_FETCH | Data Integration (DATAINTEGRATION ), View Competition Data (PB_COMPETITION_RO ), Manage Products (PB_PRODUCTEDITOR ), Administer Products (PB_PRODUCTS ), Investigate for Support (SUPPORT ), Administer Plasma (PLASMA ), Manage Product Details Only (PB_PDETAILSEDITOR ), Manage Products & Use EC (PB_PRODUCTEDITOR_EC ), Manage Competition Data (PB_COMPETITION ) |
OK
{- "endRow": 300,
- "oldValues": null,
- "operationType": "fetch",
- "startRow": 0,
- "textMatchStyle": "exact"
}
{- "response": {
- "node": "string",
- "startRow": 0,
- "data": [
- {
- "version": 0,
- "typedId": "string",
- "sku": "string",
- "competitorSku": null,
- "competitor": null,
- "label": "string",
- "price": 0,
- "priceType": null,
- "priceUnit": null,
- "unitOfMeasure": null,
- "currency": null,
- "competitionType": null,
- "source": null,
- "country": null,
- "priority": null,
- "comments": null,
- "additionalInfo1": null,
- "additionalInfo2": null,
- "additionalInfo3": null,
- "additionalInfo4": null,
- "priceAPIRecord": null,
- "integrationToken": null,
- "createDate": "string",
- "createdBy": 0,
- "lastUpdateDate": "string",
- "lastUpdateBy": 0,
- "infoDate": null
}
], - "endRow": 0,
- "totalRows": 0,
- "status": 0
}
}