Product Attribute
Master Attribute
Gets all Attribute List
Success response
1Successfully got the attribute list.GET /attribute HTTP/1.1
Authorization: text
Accept: */*
Success response
{
"status": 1,
"message": "Successfully got the attribute list."
}Create a attribute
Success response
error response
POST /attribute HTTP/1.1
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 50
"attributeName='text'&groupId=1&sortOrder=1"{
"data": {
"attribute_id": 1,
"group_id": 1,
"attribute_name": "text",
"sort_order": 1
}
}Create a attribute
Success response
error response
PUT /attribute/{id} HTTP/1.1
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 50
"attributeName='text'&groupId=1&sortOrder=1"{
"data": {
"attribute_id": 1,
"group_id": 1,
"attribute_name": "text",
"sort_order": 1
}
}Gets all Attribute List
Success response
1Successfullly deleted attribute.error response
DELETE /attribute/{id} HTTP/1.1
Authorization: text
Accept: */*
{
"status": 1,
"message": "Successfullly deleted attribute."
}Gets all Attribute List
Success response
1Successfully Got attributeerror response
GET /get-attribute/{id} HTTP/1.1
Authorization: text
Accept: */*
{
"status": 1,
"message": "Successfully Got attribute"
}Attribute Group
Gets all Attribute Group List
Success response
1Successfully got the attribute group list.GET /attribute-group HTTP/1.1
Authorization: text
Accept: */*
Success response
{
"status": 1,
"message": "Successfully got the attribute group list."
}Create a attribute group
Success response
Successfully added Attribute Group..error response
POST /attribute-group HTTP/1.1
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 43
"attributeGroupName='text'&sortOrder=1"{
"status": 1,
"message": "Successfully added Attribute Group..",
"data": {
"groupId": 1,
"attributeGroupName": "text",
"sortOrder": 1
}
}Update a attribute group
Success response
Successfully updated Attribute Group.error response
PUT /attribute/{id} HTTP/1.1
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 43
"attributeGroupName='text'&sortOrder=1"{
"status": 1,
"message": "Successfully updated Attribute Group.",
"data": {
"groupId": 1,
"attributeGroupName": "text",
"sort_order": 1
}
}Deletes the Attribute Group for the Given Id
Success response
1Successfullly deleted Attribute Group.error response
DELETE /attribute/{id} HTTP/1.1
Authorization: text
Accept: */*
{
"status": 1,
"message": "Successfullly deleted Attribute Group."
}Gets a Particular Attribute Group Details
Success response
1Successfully Got attribute grouperror response
GET /get-attribute-group/{id} HTTP/1.1
Authorization: text
Accept: */*
{
"status": 1,
"message": "Successfully Got attribute group"
}Product Attribute
Update a product attribute
Success response
1Successfully updated the Product.error response
POST /product-attributes/{id} HTTP/1.1
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 68
"productId=1&productAttribute=[{'attributeId':1,'text':'text'}]"{
"status": 1,
"message": "Successfully updated the Product."
}Get detail of product attribute
Success response
1Successfully get productDetailGET /product-detail/{id} HTTP/1.1
Authorization: text
Accept: */*
Success response
{
"status": 1,
"message": "Successfully get productDetail"
}Gets all Product Attribute List
Success response
1Successfully got the complete product list."or"Successfully got product lists count.GET /product-attributes HTTP/1.1
Authorization: text
Accept: */*
Success response
{
"status": 1,
"message": "Successfully got the complete product list.\"or\"Successfully got product lists count."
}Store Attribute
Gets all Store Product Attribute List
Success response
1Successfully get productDetailGET /store-product-attributes/product-detail/{id} HTTP/1.1
Authorization: text
Accept: */*
Success response
{
"status": 1,
"message": "Successfully get productDetail"
}Last updated

