PUT zbespoke/customerlabel

Update the Customer Label ID by customer code

Request Information

URI Parameters

None.

Body Parameters

Interprise.Web.Services.Models.CustomerLabelInput
NameDescriptionTypeAdditional information
CustomerCode

string

None.

CustomerItems

Collection of Interprise.Web.Services.Models.CustomerLabelInput+Item

None.

Request Formats

{
  "customerCode": "sample string 1",
  "customerItems": [
    {
      "itemName": "sample string 2",
      "customerLabelId": "sample string 3",
      "customFields": [
        {
          "field": "sample string 1",
          "value": {}
        },
        {
          "field": "sample string 1",
          "value": {}
        }
      ]
    },
    {
      "itemName": "sample string 2",
      "customerLabelId": "sample string 3",
      "customFields": [
        {
          "field": "sample string 1",
          "value": {}
        },
        {
          "field": "sample string 1",
          "value": {}
        }
      ]
    }
  ]
}
<CustomerLabelInput xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <CustomerCode>sample string 1</CustomerCode>
  <CustomerItems>
    <Item>
      <ItemCode>sample string 1</ItemCode>
      <ItemName>sample string 2</ItemName>
      <CustomerLabelId>sample string 3</CustomerLabelId>
      <CustomFields>
        <CustomField>
          <Field>sample string 1</Field>
          <Value />
        </CustomField>
        <CustomField>
          <Field>sample string 1</Field>
          <Value />
        </CustomField>
      </CustomFields>
    </Item>
    <Item>
      <ItemCode>sample string 1</ItemCode>
      <ItemName>sample string 2</ItemName>
      <CustomerLabelId>sample string 3</CustomerLabelId>
      <CustomFields>
        <CustomField>
          <Field>sample string 1</Field>
          <Value />
        </CustomField>
        <CustomField>
          <Field>sample string 1</Field>
          <Value />
        </CustomField>
      </CustomFields>
    </Item>
  </CustomerItems>
</CustomerLabelInput>

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'System.Web.Http.ModelBinding.JQueryMvcFormUrlEncodedFormatter' to write type 'CustomerLabelInput'.

Response Information

Resource Description

Result of update

string

Response Formats

"sample string 1"
<string>sample string 1</string>