POST api/editProduct

Request Information

URI Parameters

None.

Body Parameters

Products
NameDescriptionTypeAdditional information
Code

string

None.

Name

string

None.

Description

string

None.

idCategory

integer

None.

Price

decimal number

None.

PercentDiscount

decimal number

None.

Img1

string

None.

Img2

string

None.

Img3

string

None.

Img4

string

None.

Img5

string

None.

StockUnity

integer

None.

Available

boolean

None.

ShowWeb

boolean

None.

ShowApp

boolean

None.

NewP

boolean

None.

Recommended

boolean

None.

Offer

boolean

None.

Import

boolean

None.

idProvider

integer

None.

idColor

integer

None.

Weight

decimal number

None.

Height

decimal number

None.

Depth

decimal number

None.

AdmisionDate

date

None.

LastModified

date

None.

parameter1

string

None.

parameter2

string

None.

switch1

boolean

None.

switch2

boolean

None.

switch3

boolean

None.

Img1Switch

boolean

None.

Img2Switch

boolean

None.

Img3Switch

boolean

None.

Img4Switch

boolean

None.

Img5Switch

boolean

None.

id

integer

None.

Width

decimal number

None.

idBrand

integer

None.

loc1

boolean

None.

loc2

boolean

None.

loc3

boolean

None.

loc4

boolean

None.

loc5

boolean

None.

codeloc1

string

None.

codeloc2

string

None.

codeloc3

string

None.

codeloc4

string

None.

codeloc5

string

None.

UrlMaster

string

None.

Categorys

Categorys

None.

Request Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "Name": "sample string 2",
  "Description": "sample string 3",
  "idCategory": 1,
  "Price": 1.1,
  "PercentDiscount": 1.1,
  "Img1": "sample string 4",
  "Img2": "sample string 5",
  "Img3": "sample string 6",
  "Img4": "sample string 7",
  "Img5": "sample string 8",
  "StockUnity": 1,
  "Available": true,
  "ShowWeb": true,
  "ShowApp": true,
  "NewP": true,
  "Recommended": true,
  "Offer": true,
  "Import": true,
  "idProvider": 1,
  "idColor": 1,
  "Weight": 1.1,
  "Height": 1.1,
  "Depth": 1.1,
  "AdmisionDate": "2025-12-06T14:05:53.7659649-06:00",
  "LastModified": "2025-12-06T14:05:53.7659649-06:00",
  "parameter1": "sample string 9",
  "parameter2": "sample string 10",
  "switch1": true,
  "switch2": true,
  "switch3": true,
  "Img1Switch": true,
  "Img2Switch": true,
  "Img3Switch": true,
  "Img4Switch": true,
  "Img5Switch": true,
  "id": 11,
  "Width": 1.1,
  "idBrand": 1,
  "loc1": true,
  "loc2": true,
  "loc3": true,
  "loc4": true,
  "loc5": true,
  "codeloc1": "sample string 17",
  "codeloc2": "sample string 18",
  "codeloc3": "sample string 19",
  "codeloc4": "sample string 20",
  "codeloc5": "sample string 21",
  "UrlMaster": "sample string 22",
  "Categorys": {
    "Nombre": "sample string 1",
    "Img": "sample string 2",
    "idSup": 1,
    "HasChild": true,
    "Switch": true,
    "id": 4,
    "Orden": 1,
    "loc1": true,
    "loc2": true,
    "loc3": true,
    "loc4": true,
    "loc5": true,
    "UrlMaster": "sample string 10",
    "Products": []
  }
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>