Product resource

Methods

  • post - Create a product
  • get - Get a product by id
  • get - Get a product by id via public context
  • put - put
  • patch - Update a product

Resource

{
    "availableVariables": [
        {
            "defaultValue": "string",
            "field": "string",
            "internalDesc": "string",
            "labels": {
                "<key>": "string"
            },
            "localizedValue": {
                "<key>": {
                    "<key>": "string"
                }
            },
            "type": "string",
            "value": {}
        }
    ],
    "codeName": "string",
    "createDate": "date-time",
    "customerId": "string",
    "defaultLocale": "string",
    "externalContext": "string",
    "fulfillmentTemplate": "string",
    "genericName": "string",
    "id": "string",
    "lifeTime": "string",
    "localizedLongDesc": {
        "<key>": "string"
    },
    "localizedShortDesc": {
        "<key>": "string"
    },
    "marketingName": {
        "<key>": "string"
    },
    "parentId": "string",
    "prices": {
        "defaultCurrency": "string",
        "priceByCountryByCurrency": {
            "<key>": {
                "<key>": {
                    "value": "double",
                    "vatIncluded": "boolean"
                }
            }
        }
    },
    "pricesByStores": {
        "<key>": {
            "defaultCurrency": "string",
            "priceByCountryByCurrency": {
                "<key>": {
                    "<key>": {
                        "value": "double",
                        "vatIncluded": "boolean"
                    }
                }
            }
        }
    },
    "publisherRefId": "string",
    "relatedContents": [
        "object"
    ],
    "resources": [
        {
            "url": "string"
        }
    ],
    "sellingStores": [
        "object"
    ],
    "status": "string",
    "subscriptionTemplate": "string",
    "type": "string",
    "updateDate": "int64"
}

Properties

Name Type Description Additional
availableVariables[] array

Available variables of the product

Optional
availableVariables[].defaultValue string

Name of the variable

availableVariables[].field string

Name of the variable

availableVariables[].internalDesc string

Internal description of the variable

Optional
availableVariables[].labels object Optional
availableVariables[].labels.<key> map of string Optional
availableVariables[].localizedValue object

Localized values of the variable

Optional
availableVariables[].localizedValue.<key> map of object Optional
availableVariables[].localizedValue.<key>.<key> map of string Optional
availableVariables[].type string

The type of the variable

Possible values are:

  • LIST
  • RANGE
  • BOOL
availableVariables[].value object

Possible values of the variable

Optional
codeName string

Code name of product

Optional
createDate date-time Optional
customerId string

Customer id of the product

Read only.
defaultLocale string

Default locale of the product

externalContext string

External context

Optional
fulfillmentTemplate string

Fulfillment template name

Optional
genericName string

name of product

Optional
id string Optional
lifeTime string

lifeTime

localizedLongDesc object

Product long description

localizedLongDesc.<key> map of string Optional
localizedShortDesc object

Product short descriptions

localizedShortDesc.<key> map of string Optional
marketingName object

Product names

marketingName.<key> map of string Optional
parentId string

Parent id of the product

Optional, read only.
prices object Prices
prices.defaultCurrency string

Default currency (ISO-4217) of the product

prices.priceByCountryByCurrency object

Detail the price of product by currency (ISO-4217) and country (ISO-3166-1 alpha-2), each currency needed a default price

prices.priceByCountryByCurrency.<key> map of object Optional
prices.priceByCountryByCurrency.<key>.<key> map of object PriceInformation Optional
prices.priceByCountryByCurrency.<key>.<key>.value double

The price of product, use -1 to specify to use the currency price for this country

prices.priceByCountryByCurrency.<key>.<key>.vatIncluded boolean

Indicated if the price include the VAT

Optional
pricesByStores object

Override the product price for a specific store

pricesByStores.<key> map of object Prices Optional
pricesByStores.<key>.defaultCurrency string

Default currency (ISO-4217) of the product

pricesByStores.<key>.priceByCountryByCurrency object

Detail the price of product by currency (ISO-4217) and country (ISO-3166-1 alpha-2), each currency needed a default price

pricesByStores.<key>.priceByCountryByCurrency.<key> map of object Optional
pricesByStores.<key>.priceByCountryByCurrency.<key>.<key> map of object PriceInformation Optional
pricesByStores.<key>.priceByCountryByCurrency.<key>.<key>.value double

The price of product, use -1 to specify to use the currency price for this country

pricesByStores.<key>.priceByCountryByCurrency.<key>.<key>.vatIncluded boolean

Indicated if the price include the VAT

Optional
publisherRefId string

Publisher reference of the product

relatedContents[] array of object

Links for download the related contents file of product

Optional
resources[] array

Resources of the product

Optional
resources[].url string

URL of the asset

sellingStores[] array of object

List of stores selling this product

status string

Product status

Possible values are:

  • ENABLED
  • DISABLED
  • DELETED
Optional, read only.
subscriptionTemplate string

Subscription template name

Optional
type string

Type of product

Possible values are:

  • SOFTWARE
  • GAMES
  • CASUAL
  • SERVICE
Optional
updateDate int64 Optional, read only.