Orion API (1.0.0)

Download OpenAPI specification:Download

Product Catalog

getHello

Responses

check

Responses

Response samples

Content type
application/json
{
  • "status": "ok",
  • "info": {
    },
  • "error": { },
  • "details": {
    }
}

products

Create product

Request Body schema: application/json
required
productCode
string

The product code

name
string

The name of the product

universalProductCode
string

The universal product code

providerProductCode
string

The provider product code

provider
string

The provider

brand
string

The brand

merchant
string

The merchant

merchantProductCode
string

The merchant product code

mainImageUrl
string

The main image url

thumbnailImageUrl
string

The thumbnail image url

alternateImage1Url
string

The alternate image 1 url

alternateImage2Url
string

The alternate image 2 url

alternateImage3Url
string

The alternate image 3 url

alternateImage4Url
string

The alternate image 4 url

country
string

The country

currency
string

The currency

number or string

The price

string or boolean

Is the product in stock

string or boolean

Is the product in preorder

string or Array of strings

The keywords as string separated by a comma. Also accepts an array of keywords.

merchantCategoryPath
string

The merchant category path

locale
string

The locale

displayName
string

The display name

shortDescription
string

The short description

longDescription
string

The long description

url
string

The url

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
{}

Get all products

Responses

Response samples

Content type
application/json
[]

Get all products

Responses

Response samples

Content type
application/json
[]

Get all brands

Responses

Response samples

Content type
application/json
[
  • "string"
]

Get product

path Parameters
id
required
number

Responses

Response samples

Content type
application/json
{}

Update product

path Parameters
id
required
number
Request Body schema: application/json
required
productCode
string

The product code

name
string

The name of the product

universalProductCode
string

The universal product code

providerProductCode
string

The provider product code

provider
string

The provider

brand
string

The brand

merchant
string

The merchant

merchantProductCode
string

The merchant product code

mainImageUrl
string

The main image url

thumbnailImageUrl
string

The thumbnail image url

alternateImage1Url
string

The alternate image 1 url

alternateImage2Url
string

The alternate image 2 url

alternateImage3Url
string

The alternate image 3 url

alternateImage4Url
string

The alternate image 4 url

country
string

The country

currency
string

The currency

number or string

The price

string or boolean

Is the product in stock

string or boolean

Is the product in preorder

string or Array of strings

The keywords as string separated by a comma. Also accepts an array of keywords.

merchantCategoryPath
string

The merchant category path

locale
string

The locale

displayName
string

The display name

shortDescription
string

The short description

longDescription
string

The long description

url
string

The url

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
{}

Remove product

path Parameters
id
required
number

Responses

Response samples

Content type
application/json
{}

product-categories

List categories of a product

path Parameters
productId
required
number

Responses

Response samples

Content type
application/json
[
  • {
    }
]

List products of a category

path Parameters
categoryId
required
number

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Add a product to a category

path Parameters
productId
required
number
categoryId
required
number

Responses

Remove a product from a category

path Parameters
productId
required
number
categoryId
required
number

Responses

Add a category to a product

path Parameters
categoryId
required
number
productId
required
number

Responses

Remove a category from a product

path Parameters
categoryId
required
number
productId
required
number

Responses

categories

Create category

Request Body schema: application/json
required
label
required
string

The label of the category

parent
number

The parent category id

Responses

Request samples

Content type
application/json
{
  • "label": "chaussure",
  • "parent": 3
}

Response samples

Content type
application/json
{
  • "categoryId": 1,
  • "lastUpdateDate": "2024-08-01T10:04:00.000Z",
  • "label": "chaussure",
  • "parent": 3
}

Get all categories

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get category

path Parameters
id
required
number

Responses

Response samples

Content type
application/json
{
  • "categoryId": 1,
  • "lastUpdateDate": "2024-08-01T10:04:00.000Z",
  • "label": "chaussure",
  • "parent": 3
}

Update category

path Parameters
id
required
number
Request Body schema: application/json
required
label
required
string

The label of the category

parent
number

The parent category id

Responses

Request samples

Content type
application/json
{
  • "label": "chaussure",
  • "parent": 3
}

Response samples

Content type
application/json
{
  • "categoryId": 1,
  • "lastUpdateDate": "2024-08-01T10:04:00.000Z",
  • "label": "chaussure",
  • "parent": 3
}

Delete category

path Parameters
id
required
number

Responses