PUT 3dCartWebAPI/v1/Manufacturers


This method is used to update multiple manufacturers in the database. No URL parameters should be included.

Request Information

URI Parameters

None.

Body Parameters

A Json or XML object containing the new manufacturers

Collection of 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

FileName

database reference = manufacturer.filename

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": "10/17/2017 07:37",
    "PageTitle": "sample string 6",
    "MetaTags": "sample string 7",
    "RedirectURL": "sample string 8",
    "FileName": "sample string 9"
  },
  {
    "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": "10/17/2017 07:37",
    "PageTitle": "sample string 6",
    "MetaTags": "sample string 7",
    "RedirectURL": "sample string 8",
    "FileName": "sample string 9"
  }
]

application/xml, text/xml

Sample:
<ArrayOfManufacturer xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Manufacturer>
    <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-10-17T07:37:51.0163325-04:00</LastUpdate>
    <PageTitle>sample string 6</PageTitle>
    <MetaTags>sample string 7</MetaTags>
    <RedirectURL>sample string 8</RedirectURL>
    <FileName>sample string 9</FileName>
  </Manufacturer>
  <Manufacturer>
    <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-10-17T07:37:51.0163325-04:00</LastUpdate>
    <PageTitle>sample string 6</PageTitle>
    <MetaTags>sample string 7</MetaTags>
    <RedirectURL>sample string 8</RedirectURL>
    <FileName>sample string 9</FileName>
  </Manufacturer>
</ArrayOfManufacturer>

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.