GET Product Details

To get complete details for a particular product.

HTTP Request
GET
https://access.way2order.com/api/v1/getproductdetails/{productID}
Request Header
Content-Type: application/json
Authorization: Bearer {access_token}
Request Response
{
    "_id": "5b630118a8b17871571c43d1",
    "code": "ARCS 200",
    "name": "Bronze Globe Valve (Screwed)",
    "isenabled": true,
    "isvisible": true,
    "badge": {
        "code": "f1e008cc9add38f47127f029e590dc40",
        "name": "New",
        "visible": true
    },
    "category": [
        {
            "code": "3afa2ecd4f8d88f9229ddda44926b6c5",
            "name": "Bronze",
            "parent": "",
            "visible": true
        }
    ],
    "info": "",
    "keywords": "",
    "links": [
        {
            "name": "Download Technical Sheet",
            "value": "http://www.ssds.in/downloads/arcs_200_technical_data.pdf"
        }
    ],
    "list": [
        "Screwed Female Ends to IS 554 / BS 21 / ISO 7",
        "Screwed in Bonnet, Inside Screw, Rising Stem, Integral Seat",
        "Designed sheet metal handwheel for a firm grip and convenient operation",
        "Premium Quality PTFE Gland Packing",
        "Medium Pattern"
    ],
    "notes": "",
    "photos": [
        {
            "caption": "",
            "thumbnail": "https://cdn.way2order.com/5b6300bba8b17871571c43ce/photos/s100x100/6d7dfabdb92a50cfbe5e00531315e7ed.jpg",
            "small": "https://cdn.way2order.com/5b6300bba8b17871571c43ce/photos/s200x200/6d7dfabdb92a50cfbe5e00531315e7ed.jpg",
            "medium": "https://cdn.way2order.com/5b6300bba8b17871571c43ce/photos/s400x400/6d7dfabdb92a50cfbe5e00531315e7ed.jpg",
            "large": "https://cdn.way2order.com/5b6300bba8b17871571c43ce/photos/s800x800/6d7dfabdb92a50cfbe5e00531315e7ed.jpg"
        }
    ],
    "specs": [
        {
            "name": "Test Pressure (Hydrostatic)",
            "value": "Shell : 20 kg/cm²g (285 psig)"
        },
        {
            "name": "Test Pressure (Hydrostatic)",
            "value": "Seat : 13.50 kg/cm²g (192 psig)"
        },
        {
            "name": "Maximum Working Temperature",
            "value": "225°C"
        }
    ],
    "taxtier": {},
    "variations": [
        {
            "isvisible": true,
            "isenabled": true,
            "moq": 1,
            "om": 1,
            "orderunit": "Piece",
            "packing": "Box",
            "hsn": "84819090",
            "pid": "1",
            "price1": {
                "name": "Dealer Price",
                "currency": "INR",
                "currencyprefix": "Rs.",
                "value": 635,
                "volumeprice": [
                    {
                        "min": 1,
                        "max": 100,
                        "price": 635
                    },
                    {
                        "min": 101,
                        "max": 200,
                        "price": 600
                    },
                    {
                        "min": 201,
                        "max": 250,
                        "price": 550
                    },
                    {
                        "min": 251,
                        "max": 0,
                        "price": 500
                    }
                ]
            },
            "price2": {
                "name": "MRP",
                "currency": "INR",
                "currencyprefix": "Rs.",
                "value": 720,
                "volumeprice": []
            },
            "size": "8mm",
            "sku": "200-8",
            "upc": "11023456789",
            "warehouse": {
                "code": "e26184f2556415d678470b63cc1117b7",
                "name": "Warehouse 1",
                "visible": true
            }
        },
        {
            "isvisible": true,
            "isenabled": true,
            "moq": 1,
            "om": 1,
            "orderunit": "Piece",
            "packing": "Box",
            "hsn": "84819090",
            "pid": "2",
            "price1": {
                "name": "Dealer Price",
                "currency": "INR",
                "currencyprefix": "Rs.",
                "value": 560,
                "volumeprice": []
            },
            "price2": {
                "name": "MRP",
                "currency": "INR",
                "currencyprefix": "Rs.",
                "value": 640,
                "volumeprice": []
            },
            "size": "10mm",
            "sku": "200-10",
            "warehouse": {
                "code": "e26184f2556415d678470b63cc1117b7",
                "name": "Warehouse 1",
                "visible": true
            }
        },
        {
            "isvisible": true,
            "isenabled": true,
            "moq": 1,
            "om": 1,
            "orderunit": "Piece",
            "packing": "Box",
            "hsn": "84819090",
            "pid": "3",
            "price1": {
                "name": "Dealer Price",
                "currency": "INR",
                "currencyprefix": "Rs.",
                "value": 500,
                "volumeprice": [
                    {
                        "min": 1,
                        "max": 50,
                        "price": 500
                    },
                    {
                        "min": 51,
                        "max": 0,
                        "price": 450
                    }
                ]
            },
            "price2": {
                "name": "MRP",
                "currency": "INR",
                "currencyprefix": "Rs.",
                "value": 660,
                "volumeprice": []
            },
            "size": "15mm",
            "sku": "200-15",
            "warehouse": {
                "code": "e26184f2556415d678470b63cc1117b7",
                "name": "Warehouse 1",
                "visible": true
            },
            "offer": "Buy 5 Get 2 Free"
        },
        ...
    ],
    "visibilitytier": 0,
    "hasoffer": true,
    "offer": "Buy 5 Get 1 Free",
    "dt_create": "2018-08-02T13:03:20.998Z",
    "dt_update": "2018-12-15T12:51:50.141Z",
    "id": "5b630118a8b17871571c43d1"
}
Attribute Details
Attribute Type Description
_id String ID of the Product
code String Product Code
name String Product Name
isenabled Boolean true if enabled, false if deleted
isvisible Boolean true if visible, false if hidden
badge Object Badge applied to the Product
category Array Product Categories (applicable to this product)
info String Product Short Description
keywords String Product Search Tags
links Array External Links (applicable to this product)
list Array Feature List
notes String Product Notes
photos Array Product Photos (First Array Element becomes the Cover Photo)
specs Array Specifications Table
taxtier Object Tax Tier (applicable to this product)
variations Array Product Variations (Refer Variation Attribute Details below)
visibilitytier Integer Visibility Tier (applicable to this product)
hasoffer Boolean true if Product has an Offer, false otherwise
offer String Product Offer Details
dt_create Date Product Creation Date
dt_update Date Product Last Updation Date
id String ID of the Product
Variation Attribute Details
Attribute Type Description
isvisible Boolean true if visible, false if hidden
isenabled Boolean true if enabled, false if deleted
moq Integer Minimum Order Quantity (MOQ)
om Integer Order Quantity Multiple
orderunit String Ordering Unit
packing String Packing
hsn String HSN Code
pid String Product ID (ObjectId / Primary Key from your existing software / database)
price1 Object Price 1 (defined for this product)
price2 Object Price 2 (defined for this product)
... Object ...
price25 Object Price 25 (defined for this product)
size String Size
sku String Stock Keeping Unit (SKU)
upc String Universal Product Code
warehouse Object Warehouse (where this product is stored)