GET api/v0.6/markets?language={language}

Returns info about all product markets in PDB.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
language

Filter markets by language.

string

Optional

Body Parameters

None.

Response Information

Resource Description

Collection of ProductMarket
NameDescriptionTypeAdditional information
Code

Internal market name or code.

string

None.

Name

Public friendly name of the market.

string

None.

Description

Short market description.

string

None.

DefaultLanguage

Default language of products in the market.

string

None.

Languages

All available languages for the market.

Collection of string

None.

DefaultCurrency

Default market currency.

string

None.

Currencies

All available currencies for the market.

Collection of string

None.

Countries

All countries of the market.

Collection of string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "code": "sample string 1",
    "name": "sample string 2",
    "description": "sample string 3",
    "defaultLanguage": "sample string 4",
    "languages": [
      "sample string 1",
      "sample string 2"
    ],
    "defaultCurrency": "sample string 5",
    "currencies": [
      "sample string 1",
      "sample string 2"
    ],
    "countries": [
      "sample string 1",
      "sample string 2"
    ]
  },
  {
    "code": "sample string 1",
    "name": "sample string 2",
    "description": "sample string 3",
    "defaultLanguage": "sample string 4",
    "languages": [
      "sample string 1",
      "sample string 2"
    ],
    "defaultCurrency": "sample string 5",
    "currencies": [
      "sample string 1",
      "sample string 2"
    ],
    "countries": [
      "sample string 1",
      "sample string 2"
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfProductMarket xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PDB.Api.Models">
  <ProductMarket>
    <Code>sample string 1</Code>
    <Countries xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Countries>
    <Currencies xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Currencies>
    <DefaultCurrency>sample string 5</DefaultCurrency>
    <DefaultLanguage>sample string 4</DefaultLanguage>
    <Description>sample string 3</Description>
    <Languages xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Languages>
    <Name>sample string 2</Name>
  </ProductMarket>
  <ProductMarket>
    <Code>sample string 1</Code>
    <Countries xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Countries>
    <Currencies xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Currencies>
    <DefaultCurrency>sample string 5</DefaultCurrency>
    <DefaultLanguage>sample string 4</DefaultLanguage>
    <Description>sample string 3</Description>
    <Languages xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </Languages>
    <Name>sample string 2</Name>
  </ProductMarket>
</ArrayOfProductMarket>