POST /json/schema/v1b/signin
Submit your payload in JSON via POST and retrieve your token.
POST https://api.hollywoodbodyjewelry.net/json/schema/v1b/signin
Content-Type: application/json
{
"user": "your login id",
"password": "your login password"
}
Response:
{
"result": "Welcome to Hollywood Body Jewelry.",
"token": "...your.token.here...",
"email": "...",
"expires": "00-00-0000 00:00:00"
}
Note: Please note that newly generated tokens become useable after 3 seconds from the time they are issued.
Retrieve all category names and their ID's.
GET /json/schema/v1b/category
Use your token for every requests by setting your plain text header named "Authorization" with the contents of the header being "Bearer XXXXXX" where XXXXXX is your token.
GET https://api.hollywoodbodyjewelry.net/json/schema/v1b/category
Authorization: Bearer XXXXXX
Response:
{
"Body Jewerly": {
"Special Deals": {
"Deal of the Month": "895",
"Clearance Sale": "1487",
"Package Deals": "759",
"Value Packs": "1655",
"Starter Packs": "1687",
"Bulk Pack Body Jewelry": "1344",
},
"by Jewelry Type": {
"Basic | Initial Piercing": "961",
"Barbells | Tongue Rings": "438",
"Belly Button Rings": "439",
"Cartilage | Tragus": "905",
"Captive Bead Rings": "444",
"Dermal Anchors": "437",
"Ear Crawler": "1622",
"Ear Cuffs": "1450",
"Earring Jackets": "1617",
"Earrings": "1526",
.
.
.
}
}
}
Retrieve all products details by category
GET /json/schema/v1b/category/{category_id}
Use your token for every requests by setting your plain text header named "Authorization" with the contents of the header being "Bearer XXXXXX" where XXXXXX is your token.
GET https://api.hollywoodbodyjewelry.net/json/schema/v1b/category/759
Authorization: Bearer XXXXXX
Response:
{
"categoryName": "Package Deals",
"productCount": 999,
"products": [
{
"productId": "17143",
"itemNumber": "PK-NOB-17",
"productTitle": "24 Pcs Pre Loaded Box of 6 CZ Flowers 20 Gauge 316L Surgical Steel Nose Stud Rings Pack (6 Colors x 4 Pcs)",
"productType": "Package",
"productPieces": "24",
"productPrice": "X.XX",
"imageURL": [
"https://...image.server.../PK-NOB-17.jpg",
"https://...image.server.../PK-NOB-17-Y1.jpg"
],
"detailInfo": [
{
"productCode": "PK-NOB-17",
"thicknessGauge": "20",
"thicknessMM": "0.8",
"lengthInch": "1/4",
"lengthMM": "6",
"weight": "X.XXX",
"stockAvail": "Y",
"material": "316L Surgical Steel/Brass",
"plating": "Rhodium/Gold/Rose Gold IP",
"stone": "CZ",
"price": {
"unitPrice": "X.XX",
"discountTiers": {
"6+": "X.XX",
"3+": "X.XX"
}
},
"packageDetail": [
{
"code": "FG-09-WH",
"color": "White",
"qty": "1"
},
{
"code": "NOB-625-CAB",
"color": "Clear/Aurora Borealis",
"qty": "4"
},
.
.
.
]
}
]
},
{
...product details...
},
.
.
.
.
{
...product details...
}
]
}
Retrieve individual product details
GET /json/schema/v1b/product/{product_id | item_number}
Use your token for every requests by setting your plain text header named "Authorization" with the contents of the header being "Bearer XXXXXX" where XXXXXX is your token.
GET https://api.hollywoodbodyjewelry.net/json/schema/v1b/product/17143
Authorization: Bearer XXXXXX
--- OR ---
GET https://api.hollywoodbodyjewelry.net/json/schema/v1b/product/PK-NOB-17
Authorization: Bearer XXXXXX
Response:
{
"productId": "17143",
"itemNumber": "PK-NOB-17",
"productTitle": "24 Pcs Pre Loaded Box of 6 CZ Flowers 20 Gauge 316L Surgical Steel Nose Stud Rings Pack (6 Colors x 4 Pcs)",
"productType": "Package",
"productPieces": "24",
"productPrice": "X.XX",
"imageURL": [
"https://...image.server.../PK-NOB-17.jpg",
"https://...image.server.../PK-NOB-17-Y1.jpg"
],
"detailInfo": [
{
"productId": "17143",
"productCode": "PK-NOB-17",
"thicknessGauge": "20",
"thicknessMM": "0.8",
"lengthInch": "1/4",
"lengthMM": "6",
"weight": "X.XXX",
"stockAvail": "Y",
"itemNumber": "PK-NOB-17",
"material": "316L Surgical Steel/Brass",
"plating": "Rhodium/Gold/Rose Gold IP",
"stone": "CZ",
"price": {
"unitPrice": "X.XX",
"discountTer": {
"6+": "X.XX",
"3+": "X.XX"
}
}
}
]
}