PUT 3dCartWebAPI/v1/Manufacturers/{manufacturerid}
This method is used to update a single manufacturer record in the database. The {manufacturerid} parameter specifies which manufacturer record to update.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
manufacturerid |
Manufacturer ID |
integer |
Required |
Body Parameters
A Json or XML object containing the new manufacturer
ManufacturerName | Description | Type | Additional information |
---|---|---|---|
ManufacturerID |
Primary key. Auto-incremented. database reference = manufacturer.id |
integer |
None. |
ManufacturerName |
database reference = manufacturer.manufacturer |
string |
String length: inclusive between 0 and 50 |
Logo |
database reference = manufacturer.logo |
string |
String length: inclusive between 0 and 255 |
Sorting |
database reference = manufacturer.sorting |
integer |
None. |
Header |
database reference = manufacturer.header |
string |
String length: inclusive between 0 and 65535 |
Website |
database reference = manufacturer.website |
string |
String length: inclusive between 0 and 50 |
UserID |
database reference = manufacturer.userid |
string |
String length: inclusive between 0 and 50 |
LastUpdate |
database reference = manufacturer.last_update |
date |
None. |
PageTitle |
database reference = manufacturer.title |
string |
String length: inclusive between 0 and 150 |
MetaTags |
database reference = manufacturer.meta |
string |
String length: inclusive between 0 and 65535 |
RedirectURL |
database reference = manufacturer.link |
string |
String length: inclusive between 0 and 255 |
FileName |
database reference = manufacturer.filename |
string |
String length: inclusive between 0 and 255 |
Request Formats
application/json, text/json
{ "ManufacturerID": 1, "ManufacturerName": "sample string 1", "Logo": "sample string 2", "Sorting": 1, "Header": "sample string 3", "Website": "sample string 4", "UserID": "sample string 5", "LastUpdate": "03/29/2024 10:00", "PageTitle": "sample string 6", "MetaTags": "sample string 7", "RedirectURL": "sample string 8", "FileName": "sample string 9" }
application/xml, text/xml
<Manufacturer xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ManufacturerID>1</ManufacturerID> <ManufacturerName>sample string 1</ManufacturerName> <Logo>sample string 2</Logo> <Sorting>1</Sorting> <Header>sample string 3</Header> <Website>sample string 4</Website> <UserID>sample string 5</UserID> <LastUpdate>2024-03-29T10:00:44.9142363-04:00</LastUpdate> <PageTitle>sample string 6</PageTitle> <MetaTags>sample string 7</MetaTags> <RedirectURL>sample string 8</RedirectURL> <FileName>sample string 9</FileName> </Manufacturer>
Sample Request |
|
Response Information
application/json, text/json
[ { "Key":"ManufacturerID", "Value":"1234", "Status":"200", "Message":"updated successfully", } ]
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |