Go Back

PUT v1/products/{id}

Update an existing product

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Product identifier

integer

Required

Body Parameters

Produdct object

Product
NameDescriptionTypeAdditional information
Id

integer

None.

ShortDescription

string

Required

FullDescription

string

None.

Price

decimal number

Required

Range: inclusive between -1.79769313486232E+308 and 1.79769313486232E+308

ItemId

string

String length: inclusive between 0 and 80

StockQty

decimal number

Range: inclusive between 0 and 1.79769313486232E+308

AlertQty

decimal number

Range: inclusive between 0 and 1.79769313486232E+308

Published

boolean

None.

Pictures

Collection of ProductPicture

None.

Tags

string

String length: inclusive between 0 and 450

CategoryId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": null,
  "ShortDescription": "W950B Ultimate LED HDTV",
  "FullDescription": "Picture Adjustments Lock : Yes; On-Screen Operating Instructions : Yes; On/Off Timer : Yes;Auto Shut-off : Yes",
  "Price": 25.0,
  "ItemId": "KDL-55W950B",
  "StockQty": 100.0,
  "AlertQty": 10.0,
  "Published": true,
  "Pictures": null,
  "Tags": "SONY, SONY Television, HTDV",
  "CategoryId": null
}

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.

Go Back