/v4/products

Deals with product information

GET

Get a generic listing of all products and prices.

Example 1:

Retrieving user's full product listing. This will show the user's product range and prices. Authentication is required.

URL:

/products/?division=DIVISION&username=USERNAME

Example JSON Response
[
    {
        "productCode": "300105",
        "defaultSortOrder": 0,
        "division": "CC",
        "title": "\"Tom Smith 6 x 12\"\" Celebrations Crackers\"",
        "quantity": 6,
        "size": "6 x 6pce",
        "comGroup": 7320,
        "parent": true,
        "departments": [
            "1",
            "09",
            "73",
            "7320"
        ],
        "category": "1.09.73.7320",
        "parentCode": "300105",
        "childCodes": [
            "300105"
        ],
        "priceMarked": false,
        "temperature": "A",
        "maxQuantity": 50,
        "splits": [],
        "case": null,
        "barcodes": [
            "5012213418928",
            "5012213518130",
            "300105"
        ],
        "ean": [
            "5012213418928"
        ],
        "tuc": [
            "5012213518130"
        ],
        "otu": [],
        "uan": [],
        "unavailableReason": "Volume restrictions of 2 cases are in place to maximise availability to all customers until further notice",
        "reasonableOrderLimit": 2,
        "allowPurchase": true,
        "keywords": [],
        "flags": [],
        "images": {
            "medium": "https://www.afblakemore.net/content/product_image_loader.php?product_code=300105&division=CC&size=M",
            "large": "https://www.afblakemore.net/content/product_image_loader.php?product_code=300105&division=CC&size=L"
        },
        "html": "https://www.afblakemore.net/products/info/app.php?p_code=300105&division=CC",
        "pricing": {
            "wsp": "1.23",
            "rrp": "7.99",
            "por": "123.45",
            "vatRate": "20.00",
            "promotion": false,
            "promotionDate": null,
            "originalWsp": null
        },
        "minLifeDays": 0
    },
    {
        "productCode": "300116",
        "defaultSortOrder": 0,
        "division": "CC",
        "title": "\"Tom Smith 6 x 12\"\" Gold & Cream Crackers\"",
        "quantity": 12,
        "size": "12 x 6pce",
        "comGroup": 7320,
        "parent": true,
        "departments": [
            "1",
            "09",
            "73",
            "7320"
        ],
        "category": "1.09.73.7320",
        "parentCode": "300116",
        "childCodes": [
            "300116"
        ],
        "priceMarked": false,
        "temperature": "A",
        "maxQuantity": 50,
        "splits": [],
        "case": null,
        "barcodes": [
            "5012213417792",
            "5012213517935",
            "300116"
        ],
        "ean": [
            "5012213417792"
        ],
        "tuc": [
            "5012213517935"
        ],
        "otu": [],
        "uan": [],
        "unavailableReason": "Volume restrictions of 2 cases are in place to maximise availability to all customers until further notice",
        "reasonableOrderLimit": 2,
        "allowPurchase": true,
        "keywords": [],
        "flags": [],
        "images": {
            "medium": "https://www.afblakemore.net/content/product_image_loader.php?product_code=300116&division=CC&size=M",
            "large": "https://www.afblakemore.net/content/product_image_loader.php?product_code=300116&division=CC&size=L"
        },
        "html": "https://www.afblakemore.net/products/info/app.php?p_code=300116&division=CC",
        "pricing": {
            "wsp": "2.34",
            "rrp": "7.99",
            "por": "135.79",
            "vatRate": "20.00",
            "promotion": false,
            "promotionDate": null,
            "originalWsp": null
        },
        "minLifeDays": 0
    }
]

    

Example 2:

Retrieving full generic product listing - this is not available for all divisions. Prices will not be shown for genetic product listings. Authentication is not required.

URL:

/products/?division=DIVISION

Example JSON Response
[
    {
        "productCode": "300105",
        "defaultSortOrder": 0,
        "division": "CC",
        "title": "\"Tom Smith 6 x 12\"\" Celebrations Crackers\"",
        "quantity": 6,
        "size": "6 x 6pce",
        "comGroup": 7320,
        "parent": true,
        "departments": [
            "1",
            "09",
            "73",
            "7320"
        ],
        "category": "1.09.73.7320",
        "parentCode": "300105",
        "childCodes": [
            "300105"
        ],
        "priceMarked": false,
        "temperature": "A",
        "maxQuantity": 50,
        "splits": [],
        "case": null,
        "barcodes": [
            "5012213418928",
            "5012213518130",
            "300105"
        ],
        "ean": [
            "5012213418928"
        ],
        "tuc": [
            "5012213518130"
        ],
        "otu": [],
        "uan": [],
        "unavailableReason": "Volume restrictions of 2 cases are in place to maximise availability to all customers until further notice",
        "reasonableOrderLimit": 2,
        "allowPurchase": true,
        "keywords": [],
        "flags": [],
        "images": {
            "medium": "https://www.afblakemore.net/content/product_image_loader.php?product_code=300105&division=CC&size=M",
            "large": "https://www.afblakemore.net/content/product_image_loader.php?product_code=300105&division=CC&size=L"
        },
        "html": "https://www.afblakemore.net/products/info/app.php?p_code=300105&division=CC",
        "pricing": {
            "wsp": null,
            "rrp": "7.99",
            "por": null,
            "vatRate": "20.00",
            "promotion": false,
            "promotionDate": null,
            "originalWsp": null
        },
        "minLifeDays": 0
    },
    {
        "productCode": "300116",
        "defaultSortOrder": 0,
        "division": "CC",
        "title": "\"Tom Smith 6 x 12\"\" Gold & Cream Crackers\"",
        "quantity": 12,
        "size": "12 x 6pce",
        "comGroup": 7320,
        "parent": true,
        "departments": [
            "1",
            "09",
            "73",
            "7320"
        ],
        "category": "1.09.73.7320",
        "parentCode": "300116",
        "childCodes": [
            "300116"
        ],
        "priceMarked": false,
        "temperature": "A",
        "maxQuantity": 50,
        "splits": [],
        "case": null,
        "barcodes": [
            "5012213417792",
            "5012213517935",
            "300116"
        ],
        "ean": [
            "5012213417792"
        ],
        "tuc": [
            "5012213517935"
        ],
        "otu": [],
        "uan": [],
        "unavailableReason": "Volume restrictions of 2 cases are in place to maximise availability to all customers until further notice",
        "reasonableOrderLimit": 2,
        "allowPurchase": true,
        "keywords": [],
        "flags": [],
        "images": {
            "medium": "https://www.afblakemore.net/content/product_image_loader.php?product_code=300116&division=CC&size=M",
            "large": "https://www.afblakemore.net/content/product_image_loader.php?product_code=300116&division=CC&size=L"
        },
        "html": "https://www.afblakemore.net/products/info/app.php?p_code=300116&division=CC",
        "pricing": {
            "wsp": null,
            "rrp": "7.99",
            "por": null,
            "vatRate": "20.00",
            "promotion": false,
            "promotionDate": null,
            "originalWsp": null
        },
        "minLifeDays": 0
    }
]