GET 3dCartWebAPI/v1/Products/{catalogid}/Distributors


Get the distributors from a specific Product

Request Information

URI Parameters

NameDescriptionTypeAdditional information
catalogid

Catalog ID

integer

Default value is 0

limit

Maximum number of items that can be returned

integer

Default value is 0

offset

Starting point for the return data

integer

Default value is 0

Body Parameters

None.


Sample Request



Response Information

Resource Description

Collection of ProductDistributor
NameDescriptionTypeAdditional information
DistributorID

database reference = product_distributor.distributorid

integer

None.

DistributorName

database reference = distributor.company

string

String length: inclusive between 0 and 50

DistributorItemCost

database reference = product_distributor.cost

decimal number

None.

DistributorItemID

database reference = product_distributor.itemid

string

String length: inclusive between 0 and 50

DistributorStockID

database reference = product_distributor.stockid

string

String length: inclusive between 0 and 50

Response Formats

application/json, text/json

Sample:
[
  {
    "DistributorID": 1,
    "DistributorName": "sample string 2",
    "DistributorItemCost": 3.1,
    "DistributorItemID": "sample string 4",
    "DistributorStockID": "sample string 5"
  },
  {
    "DistributorID": 1,
    "DistributorName": "sample string 2",
    "DistributorItemCost": 3.1,
    "DistributorItemID": "sample string 4",
    "DistributorStockID": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfProductDistributor xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ProductDistributor>
    <DistributorID>1</DistributorID>
    <DistributorName>sample string 2</DistributorName>
    <DistributorItemCost>3.1</DistributorItemCost>
    <DistributorItemID>sample string 4</DistributorItemID>
    <DistributorStockID>sample string 5</DistributorStockID>
  </ProductDistributor>
  <ProductDistributor>
    <DistributorID>1</DistributorID>
    <DistributorName>sample string 2</DistributorName>
    <DistributorItemCost>3.1</DistributorItemCost>
    <DistributorItemID>sample string 4</DistributorItemID>
    <DistributorStockID>sample string 5</DistributorStockID>
  </ProductDistributor>
</ArrayOfProductDistributor>