Product method
GET /v1/product/GetProductOptionCombinationsForPostalCode/
Uri parameters
| Name | Description | Type | Additional description |
|---|---|---|---|
| ProductCode | Product code, e.g. 43. You may find all product codes by running /v1/product/list | String | Required |
| FromCountryCode | From country code, e.g. DE. NO is default. | String | |
| ToCountryCode | To country code, e.g. FR. NO is default. | String | |
| FromPostalCode | String | Required | |
| ToPostalCode | String | Required | |
| DateType | Set if date is collection date or delivery date, COLLECT=0 and DELIVER=1. Default is COLLECT. | DateType | |
| Date | Date, used to derive a calendar week, for the calculation. If date parameter is not provided it defaults to the date of today | DateTime |
Body parameters
None
Request body sample:
None
Response sample:
{
"Status": 1,
"Products": [
{
"Code": "sample string 1",
"Description": "sample string 2",
"Options": [
{
"Code": "sample string 1",
"Description": "sample string 2"
}
],
"Messages": [
{
"Code": "sample string 1",
"Description": "sample string 2"
}
]
}
],
"Errors": [
{
"Name": "sample string 1",
"Message": "sample string 2",
"Details": [
{
"Field": "sample string 1",
"Value": "sample string 2",
"Location": "sample string 3",
"Issue": "sample string 4"
}
]
}
]
}