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

NameDescriptionTypeAdditional information
manufacturerid

Manufacturer ID

integer

Required

Body Parameters

A Json or XML object containing the new manufacturer

Manufacturer
NameDescriptionTypeAdditional 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

Request Formats

application/json, text/json

Sample:
{
  "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": "06/26/2017 09:32",
  "PageTitle": "sample string 6",
  "MetaTags": "sample string 7",
  "RedirectURL": "sample string 8"
}

application/xml, text/xml

Sample:
<Manufacturer xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <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>2017-06-26T09:32:16.6477733-04:00</LastUpdate>
  <PageTitle>sample string 6</PageTitle>
  <MetaTags>sample string 7</MetaTags>
  <RedirectURL>sample string 8</RedirectURL>
</Manufacturer>

Sample Request


Please click here to download the C# Rest API Client project from GitHub.
not yet available
not yet available

Response Information

application/json, text/json

Sample:
[
  {
    "Key":"ManufacturerID",
    "Value":"1234",
    "Status":"200",
    "Message":"updated successfully",
  }
]
							

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.