1 Like
@Vishal_Rajpoot I have tried with these body parameters editProduct
method is working . Can you try with passing these parameters ?
The structure of the body format like
itemId: 9645722,
body: {
attributes: {
essential: "Yes",
gender: [
"Men"
],
"marketer-address": "Andheri",
"marketer-name": "Fynd Platform",
primary_color: "Red",
primary_material: "Canvas",
'net-quantity': '1 N'
},
net_quantity: {
unit: 'kg',
value: '0.1'
},
brand_uid: 5989,
category_slug: "running-shoes",
company_id: 5699,
country_of_origin: "India",
name: "Soum Shoes",
currency: "INR",
//description: "namaste new shoes desc",
departments: [
21
],
item_code: "lmj6196x_NS",
item_type: "standard",
return_config: {
time: 30,
unit: "hours",
returnable: true
},
sizes: [
{
size: "8",
store_count: 1,
sellable_quantity: 2960,
sellable: true,
seller_identifier: "LMJ6196X_NS",
price_transfer: 0,
track_inventory: true,
identifiers: [
{
gtin_type: "sku_code",
gtin_value: "LMJ6196X_NS",
primary: true
}
],
item_height: 10.16,
item_length: 10.16,
item_width: 10.16,
item_weight: 0.15,
price_effective: 1450,
price: 2000
}
],
slug: "lmj6196x_ns-9645722",
tax_identifier: {
hsn_code: "94051900",
hsn_code_id: "64e8aa91d87af8902bc12c0b",
reporting_hsn: "94051900H1",
},
template_tag: "footwear",
trader: [
{
name: "Nike",
type: "Manufacturer",
address: [
"Andheri"
],
},
],
}
@SoumyaAcharya hey this object is working but is there any restricted fields in this edit product because i can update its “name” but i also wanna update its “price_effective” but it is not showing any difference.
Hi @brijesh
You can change the effective_price
property of the product which is available in sizes
attribute. There is only reestricted condition that effective_price
should be less than price
of the product for that size.