Offer interface
Defines a merchant's offer.
Properties
aggregate |
An aggregated rating that indicates how well the product has been rated by others. NOTE: This property will not be serialized. It can only be populated by the server. |
alternate |
An alias for the item. NOTE: This property will not be serialized. It can only be populated by the server. |
availability | The item's availability. The following are the possible values: Discontinued, InStock, InStoreOnly, LimitedAvailability, OnlineOnly, OutOfStock, PreOrder, SoldOut. Possible values include: 'Discontinued', 'InStock', 'InStoreOnly', 'LimitedAvailability', 'OnlineOnly', 'OutOfStock', 'PreOrder', 'SoldOut' NOTE: This property will not be serialized. It can only be populated by the server. |
bing |
An ID that uniquely identifies this item. NOTE: This property will not be serialized. It can only be populated by the server. |
description | A short description of the item. NOTE: This property will not be serialized. It can only be populated by the server. |
id | A String identifier. NOTE: This property will not be serialized. It can only be populated by the server. |
image | An image of the item. NOTE: This property will not be serialized. It can only be populated by the server. |
last |
The last date that the offer was updated. The date is in the form YYYY-MM-DD. NOTE: This property will not be serialized. It can only be populated by the server. |
name | The name of the thing represented by this object. NOTE: This property will not be serialized. It can only be populated by the server. |
price | The item's price. NOTE: This property will not be serialized. It can only be populated by the server. |
price |
The monetary currency. For example, USD. Possible values include: 'USD', 'CAD', 'GBP', 'EUR', 'COP', 'JPY', 'CNY', 'AUD', 'INR', 'AED', 'AFN', 'ALL', 'AMD', 'ANG', 'AOA', 'ARS', 'AWG', 'AZN', 'BAM', 'BBD', 'BDT', 'BGN', 'BHD', 'BIF', 'BMD', 'BND', 'BOB', 'BOV', 'BRL', 'BSD', 'BTN', 'BWP', 'BYR', 'BZD', 'CDF', 'CHE', 'CHF', 'CHW', 'CLF', 'CLP', 'COU', 'CRC', 'CUC', 'CUP', 'CVE', 'CZK', 'DJF', 'DKK', 'DOP', 'DZD', 'EGP', 'ERN', 'ETB', 'FJD', 'FKP', 'GEL', 'GHS', 'GIP', 'GMD', 'GNF', 'GTQ', 'GYD', 'HKD', 'HNL', 'HRK', 'HTG', 'HUF', 'IDR', 'ILS', 'IQD', 'IRR', 'ISK', 'JMD', 'JOD', 'KES', 'KGS', 'KHR', 'KMF', 'KPW', 'KRW', 'KWD', 'KYD', 'KZT', 'LAK', 'LBP', 'LKR', 'LRD', 'LSL', 'LYD', 'MAD', 'MDL', 'MGA', 'MKD', 'MMK', 'MNT', 'MOP', 'MRO', 'MUR', 'MVR', 'MWK', 'MXN', 'MXV', 'MYR', 'MZN', 'NAD', 'NGN', 'NIO', 'NOK', 'NPR', 'NZD', 'OMR', 'PAB', 'PEN', 'PGK', 'PHP', 'PKR', 'PLN', 'PYG', 'QAR', 'RON', 'RSD', 'RUB', 'RWF', 'SAR', 'SBD', 'SCR', 'SDG', 'SEK', 'SGD', 'SHP', 'SLL', 'SOS', 'SRD', 'SSP', 'STD', 'SYP', 'SZL', 'THB', 'TJS', 'TMT', 'TND', 'TOP', 'TRY', 'TTD', 'TWD', 'TZS', 'UAH', 'UGX', 'UYU', 'UZS', 'VEF', 'VND', 'VUV', 'WST', 'XAF', 'XCD', 'XOF', 'XPF', 'YER', 'ZAR', 'ZMW' NOTE: This property will not be serialized. It can only be populated by the server.. Default value: 'USD'. |
read |
The URL that returns this resource. To use the URL, append query parameters as appropriate and include the Ocp-Apim-Subscription-Key header. NOTE: This property will not be serialized. It can only be populated by the server. |
seller | Seller for this offer. NOTE: This property will not be serialized. It can only be populated by the server. |
url | The URL to get more information about the thing represented by this object. NOTE: This property will not be serialized. It can only be populated by the server. |
web |
The URL to Bing's search result for this item. NOTE: This property will not be serialized. It can only be populated by the server. |
Property Details
aggregateRating
An aggregated rating that indicates how well the product has been rated by others. NOTE: This property will not be serialized. It can only be populated by the server.
aggregateRating?: AggregateRating
Property Value
alternateName
An alias for the item. NOTE: This property will not be serialized. It can only be populated by the server.
alternateName?: string
Property Value
string
availability
The item's availability. The following are the possible values: Discontinued, InStock, InStoreOnly, LimitedAvailability, OnlineOnly, OutOfStock, PreOrder, SoldOut. Possible values include: 'Discontinued', 'InStock', 'InStoreOnly', 'LimitedAvailability', 'OnlineOnly', 'OutOfStock', 'PreOrder', 'SoldOut' NOTE: This property will not be serialized. It can only be populated by the server.
availability?: ItemAvailability
Property Value
bingId
An ID that uniquely identifies this item. NOTE: This property will not be serialized. It can only be populated by the server.
bingId?: string
Property Value
string
description
A short description of the item. NOTE: This property will not be serialized. It can only be populated by the server.
description?: string
Property Value
string
id
A String identifier. NOTE: This property will not be serialized. It can only be populated by the server.
id?: string
Property Value
string
image
An image of the item. NOTE: This property will not be serialized. It can only be populated by the server.
image?: ImageObject
Property Value
lastUpdated
The last date that the offer was updated. The date is in the form YYYY-MM-DD. NOTE: This property will not be serialized. It can only be populated by the server.
lastUpdated?: string
Property Value
string
name
The name of the thing represented by this object. NOTE: This property will not be serialized. It can only be populated by the server.
name?: string
Property Value
string
price
The item's price. NOTE: This property will not be serialized. It can only be populated by the server.
price?: number
Property Value
number
priceCurrency
The monetary currency. For example, USD. Possible values include: 'USD', 'CAD', 'GBP', 'EUR', 'COP', 'JPY', 'CNY', 'AUD', 'INR', 'AED', 'AFN', 'ALL', 'AMD', 'ANG', 'AOA', 'ARS', 'AWG', 'AZN', 'BAM', 'BBD', 'BDT', 'BGN', 'BHD', 'BIF', 'BMD', 'BND', 'BOB', 'BOV', 'BRL', 'BSD', 'BTN', 'BWP', 'BYR', 'BZD', 'CDF', 'CHE', 'CHF', 'CHW', 'CLF', 'CLP', 'COU', 'CRC', 'CUC', 'CUP', 'CVE', 'CZK', 'DJF', 'DKK', 'DOP', 'DZD', 'EGP', 'ERN', 'ETB', 'FJD', 'FKP', 'GEL', 'GHS', 'GIP', 'GMD', 'GNF', 'GTQ', 'GYD', 'HKD', 'HNL', 'HRK', 'HTG', 'HUF', 'IDR', 'ILS', 'IQD', 'IRR', 'ISK', 'JMD', 'JOD', 'KES', 'KGS', 'KHR', 'KMF', 'KPW', 'KRW', 'KWD', 'KYD', 'KZT', 'LAK', 'LBP', 'LKR', 'LRD', 'LSL', 'LYD', 'MAD', 'MDL', 'MGA', 'MKD', 'MMK', 'MNT', 'MOP', 'MRO', 'MUR', 'MVR', 'MWK', 'MXN', 'MXV', 'MYR', 'MZN', 'NAD', 'NGN', 'NIO', 'NOK', 'NPR', 'NZD', 'OMR', 'PAB', 'PEN', 'PGK', 'PHP', 'PKR', 'PLN', 'PYG', 'QAR', 'RON', 'RSD', 'RUB', 'RWF', 'SAR', 'SBD', 'SCR', 'SDG', 'SEK', 'SGD', 'SHP', 'SLL', 'SOS', 'SRD', 'SSP', 'STD', 'SYP', 'SZL', 'THB', 'TJS', 'TMT', 'TND', 'TOP', 'TRY', 'TTD', 'TWD', 'TZS', 'UAH', 'UGX', 'UYU', 'UZS', 'VEF', 'VND', 'VUV', 'WST', 'XAF', 'XCD', 'XOF', 'XPF', 'YER', 'ZAR', 'ZMW' NOTE: This property will not be serialized. It can only be populated by the server.. Default value: 'USD'.
priceCurrency?: Currency
Property Value
readLink
The URL that returns this resource. To use the URL, append query parameters as appropriate and include the Ocp-Apim-Subscription-Key header. NOTE: This property will not be serialized. It can only be populated by the server.
readLink?: string
Property Value
string
seller
Seller for this offer. NOTE: This property will not be serialized. It can only be populated by the server.
seller?: Organization
Property Value
url
The URL to get more information about the thing represented by this object. NOTE: This property will not be serialized. It can only be populated by the server.
url?: string
Property Value
string
webSearchUrl
The URL to Bing's search result for this item. NOTE: This property will not be serialized. It can only be populated by the server.
webSearchUrl?: string
Property Value
string