GET api/Product?ProductId={ProductId}&ProductCode={ProductCode}&CustomColumns={CustomColumns}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ProductId

globally unique identifier

None.

ProductCode

string

Default value is

CustomColumns

string

Default value is

Body Parameters

None.

Response Information

Resource Description

ProductRequest
NameDescriptionTypeAdditional information
Product

Product

None.

Response Formats

application/json, text/json

Sample:
{
  "Product": {
    "Id": "4df21ce9-cd14-4310-9aae-c7de9e94b2a2",
    "Code": "sample string 2",
    "Name": "sample string 3",
    "Company": "sample string 4",
    "Currency": "sample string 5",
    "Description": "sample string 6",
    "Taxable": true,
    "ApplyFreight": true,
    "MemberPrice": 9.0,
    "NonMemberPrice": 10.0,
    "ProductType": 1,
    "WebCategory": "sample string 11",
    "Custom": {
      "Attribute": [
        {
          "Type": 0,
          "Key": "sample string 1",
          "Value": "sample string 2",
          "FormattedValue": "sample string 3"
        },
        {
          "Type": 0,
          "Key": "sample string 1",
          "Value": "sample string 2",
          "FormattedValue": "sample string 3"
        }
      ]
    },
    "Prices": {
      "Price": [
        {
          "Name": "sample string 1",
          "Valueminimum": 2.0,
          "Valuemaximum": 3.0,
          "Startdate": "2025-08-31T05:47:23.749863+00:00",
          "Enddate": "2025-08-31T05:47:23.749863+00:00",
          "Pricepercent": 6.0
        },
        {
          "Name": "sample string 1",
          "Valueminimum": 2.0,
          "Valuemaximum": 3.0,
          "Startdate": "2025-08-31T05:47:23.749863+00:00",
          "Enddate": "2025-08-31T05:47:23.749863+00:00",
          "Pricepercent": 6.0
        }
      ]
    }
  }
}

application/xml, text/xml

Sample:
<ProductRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Protech.UX.API.Product">
  <Product>
    <ApplyFreight>true</ApplyFreight>
    <Code>sample string 2</Code>
    <Company>sample string 4</Company>
    <Currency>sample string 5</Currency>
    <Custom>
      <Attribute xmlns:d4p1="http://schemas.datacontract.org/2004/07/Protech.UX.API.CRMEntity">
        <d4p1:Attribute>
          <d4p1:FormattedValue>sample string 3</d4p1:FormattedValue>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Type>text</d4p1:Type>
          <d4p1:Value>sample string 2</d4p1:Value>
        </d4p1:Attribute>
        <d4p1:Attribute>
          <d4p1:FormattedValue>sample string 3</d4p1:FormattedValue>
          <d4p1:Key>sample string 1</d4p1:Key>
          <d4p1:Type>text</d4p1:Type>
          <d4p1:Value>sample string 2</d4p1:Value>
        </d4p1:Attribute>
      </Attribute>
    </Custom>
    <Description>sample string 6</Description>
    <Id>4df21ce9-cd14-4310-9aae-c7de9e94b2a2</Id>
    <MemberPrice>9</MemberPrice>
    <Name>sample string 3</Name>
    <NonMemberPrice>10</NonMemberPrice>
    <Prices xmlns:d3p1="http://schemas.datacontract.org/2004/07/Protech.UX.API.Event">
      <d3p1:Price>
        <d3p1:Price>
          <d3p1:Enddate>2025-08-31T05:47:23.749863+00:00</d3p1:Enddate>
          <d3p1:Name>sample string 1</d3p1:Name>
          <d3p1:Pricepercent>6</d3p1:Pricepercent>
          <d3p1:Startdate>2025-08-31T05:47:23.749863+00:00</d3p1:Startdate>
          <d3p1:Valuemaximum>3</d3p1:Valuemaximum>
          <d3p1:Valueminimum>2</d3p1:Valueminimum>
        </d3p1:Price>
        <d3p1:Price>
          <d3p1:Enddate>2025-08-31T05:47:23.749863+00:00</d3p1:Enddate>
          <d3p1:Name>sample string 1</d3p1:Name>
          <d3p1:Pricepercent>6</d3p1:Pricepercent>
          <d3p1:Startdate>2025-08-31T05:47:23.749863+00:00</d3p1:Startdate>
          <d3p1:Valuemaximum>3</d3p1:Valuemaximum>
          <d3p1:Valueminimum>2</d3p1:Valueminimum>
        </d3p1:Price>
      </d3p1:Price>
    </Prices>
    <ProductType>SalesInventory</ProductType>
    <Taxable>true</Taxable>
    <WebCategory>sample string 11</WebCategory>
  </Product>
</ProductRequest>