POST Catalog/AddProductAttribute

Creates a reciproque bound between two products.

Request Information

URI Parameters

None.

Body Parameters

ProductAttributeBinding
NameDescriptionTypeAdditional information
ProductID

integer

None.

AttributeID

integer

None.

SortOrder

integer

None.

Lang

string

None.

StoreID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductID": 1,
  "AttributeID": 2,
  "SortOrder": 3,
  "Lang": "sample string 4",
  "StoreID": 5
}

application/xml, text/xml

Sample:
<ProductAttributeBinding xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Binding.Catalog">
  <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">sample string 4</Lang>
  <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base">5</StoreID>
  <AttributeID>2</AttributeID>
  <ProductID>1</ProductID>
  <SortOrder>3</SortOrder>
</ProductAttributeBinding>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.