PUT api/Webshops/{webshopId}/products/{reference}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
webshopId

globally unique identifier

Required

reference

string

Required

Body Parameters

ProductInfo
NameDescriptionTypeAdditional information
WebshopId

globally unique identifier

None.

InternalReference

string

String length: inclusive between 0 and 40

Barcode

string

String length: inclusive between 0 and 200

Title

string

String length: inclusive between 0 and 100

Description

string

String length: inclusive between 0 and 2000

AdditionalTermsOfDelivery

string

String length: inclusive between 0 and 5000

Price

decimal number

Required

Range: inclusive between 0 and 1E+18

DeliveryTime

DeliveryTimeRange

None.

ImageUrl

string

None.

VAT

decimal number

Required

Range: inclusive between 0.00 and 100.00

Category

string

None.

Request Formats

application/json, text/json

Sample:
{
  "WebshopId": "efc71bf7-a165-4bb8-96cf-5ff36b5e50b5",
  "InternalReference": "sample string 2",
  "Barcode": "sample string 3",
  "Title": "sample string 4",
  "Description": "sample string 5",
  "AdditionalTermsOfDelivery": "sample string 6",
  "Price": 7.0,
  "DeliveryTime": 0,
  "ImageUrl": "sample string 8",
  "VAT": 9.0,
  "Category": "sample string 10"
}

application/xml, text/xml

Sample:
<ProductInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <WebshopId>efc71bf7-a165-4bb8-96cf-5ff36b5e50b5</WebshopId>
  <InternalReference>sample string 2</InternalReference>
  <Barcode>sample string 3</Barcode>
  <Title>sample string 4</Title>
  <Description>sample string 5</Description>
  <AdditionalTermsOfDelivery>sample string 6</AdditionalTermsOfDelivery>
  <Price>7</Price>
  <DeliveryTime>OneDay</DeliveryTime>
  <ImageUrl>sample string 8</ImageUrl>
  <VAT>9</VAT>
  <Category>sample string 10</Category>
</ProductInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.