POST api/SKUs/UpdateCartIDs

Updates the Eskimo database with the IDs used by the Website. The Eskimo will supply SKUs with a primary key of type 'string'. You may use the information retrived from Eskimo to populate your own MySQL database of a cart (i.e. OpenCart or CS Cart for instance). These carts may not a) give you the ability to store the primary key as a string - they may be auto-increment integers b) they may be read-only anyway. In these cases, you can use this function to store the ID generated by the Cart application back into Eskimo for future correlation.

Request Information

URI Parameters

None.

Body Parameters

A collection of entries containing the Primary Key information to update Eskimo with

Collection of EskimoClassLibraries.SKUid
NameDescriptionTypeAdditional information
Eskimo_Product_Identifier

string

String length: inclusive between 0 and 200

Eskimo_SKU_Code

string

String length: inclusive between 0 and 200

Web_ID

string

String length: inclusive between 0 and 200

Request Formats

application/json, text/json

Sample:
[
  {
    "Eskimo_Product_Identifier": "sample string 1",
    "Eskimo_SKU_Code": "sample string 2",
    "Web_ID": "sample string 3"
  },
  {
    "Eskimo_Product_Identifier": "sample string 1",
    "Eskimo_SKU_Code": "sample string 2",
    "Web_ID": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSKUid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EskimoClassLibraries">
  <SKUid>
    <Eskimo_Product_Identifier>sample string 1</Eskimo_Product_Identifier>
    <Eskimo_SKU_Code>sample string 2</Eskimo_SKU_Code>
    <Web_ID>sample string 3</Web_ID>
  </SKUid>
  <SKUid>
    <Eskimo_Product_Identifier>sample string 1</Eskimo_Product_Identifier>
    <Eskimo_SKU_Code>sample string 2</Eskimo_SKU_Code>
    <Web_ID>sample string 3</Web_ID>
  </SKUid>
</ArrayOfSKUid>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.