GET api/v2/customers/ordersbycustomerid/{id}
Retrieve all the customer's orders
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
F8 applications customer id |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Order| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| CustomerId | globally unique identifier |
None. |
|
| Status | integer |
None. |
|
| ClientOrderNumber | string |
None. |
|
| InternalOrderNumber | string |
None. |
|
| Origin | string |
None. |
|
| Performer | string |
None. |
|
| StartDate | string |
None. |
|
| StopDate | string |
None. |
|
| StatusName | string |
None. |
|
| ProviderName | string |
None. |
|
| ProviderId | globally unique identifier |
None. |
|
| Access | Access |
None. |
|
| Product | Product |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "caa71089-b7e5-4160-8a7c-883978286bd2",
"CustomerId": "80bc9d92-e986-4bbc-a51a-f95f0e33a457",
"Status": 3,
"ClientOrderNumber": "sample string 4",
"InternalOrderNumber": "sample string 5",
"Origin": "sample string 6",
"Performer": "sample string 7",
"StartDate": "sample string 8",
"StopDate": "sample string 9",
"StatusName": "Okänd kategori. Enum: 3",
"ProviderName": "sample string 10",
"ProviderId": "e9927816-5ac8-4df3-95cb-3ce9b6069122",
"Access": {
"Id": "f0c4af35-7327-49ce-bf71-73892d92ecf3",
"ProviderId": "a5a55c7f-6087-47d4-9ece-b19132dec419",
"Distinguisher": "sample string 3",
"StreetName": "sample string 4",
"StreetNumber": "sample string 5",
"ApartmentNumber": "sample string 6",
"Outlet": "sample string 7",
"StreetLittera": "sample string 8",
"City": "sample string 9",
"Zipcode": "sample string 10",
"CountryCode": "sample string 11"
},
"Product": {
"Id": "0344a181-34b6-4811-a165-e37f51c4b57d",
"ClientProductName": "sample string 2",
"ClientCampaignCode": "sample string 3",
"PublicName": "sample string 4",
"PublicDescription": "sample string 5",
"BindingPeriod": "sample string 6",
"Notice": "sample string 7",
"ShowCommunicationOperatorFee": true,
"RegularPrice": 9.0,
"RetailPrice": 10.0,
"RetailStartPrice": 11.0,
"CampaignId": "2552337e-4f17-4e02-873b-b8f3de78c0a2",
"CampaignPrice": 12.0,
"CampaignPeriod": 13,
"IsMarketingCampaign": true,
"CommunicationOperatorFee": 15.0,
"CommunicationOperatorFeeStartPrice": 16.0,
"ProviderName": "sample string 17",
"ServiceType": 18,
"VAT": 19,
"ImageType": "sample string 20",
"RetailPriceDisplay": "10,00 kr",
"RetailStartPriceDisplay": "11,00 kr",
"CommunicationOperatorFeeDisplay": "15,00 kr",
"CommunicationOperatorFeeStartPriceDisplay": "16,00 kr",
"ServiceTypeDisplayName": "Okänd kategori. Enum: 18",
"ProductPriceCampaigns": [
{
"Key": "sample string 1",
"Name": "sample string 2"
},
{
"Key": "sample string 1",
"Name": "sample string 2"
}
],
"ProductPriceCampaignFallbackId": "sample string 21",
"SortIndex": 22,
"IsCompany": true,
"IsDisabled": true,
"Up": 25,
"Down": 26,
"ServiceTargetGroupEnumId": 27
}
},
{
"Id": "caa71089-b7e5-4160-8a7c-883978286bd2",
"CustomerId": "80bc9d92-e986-4bbc-a51a-f95f0e33a457",
"Status": 3,
"ClientOrderNumber": "sample string 4",
"InternalOrderNumber": "sample string 5",
"Origin": "sample string 6",
"Performer": "sample string 7",
"StartDate": "sample string 8",
"StopDate": "sample string 9",
"StatusName": "Okänd kategori. Enum: 3",
"ProviderName": "sample string 10",
"ProviderId": "e9927816-5ac8-4df3-95cb-3ce9b6069122",
"Access": {
"Id": "f0c4af35-7327-49ce-bf71-73892d92ecf3",
"ProviderId": "a5a55c7f-6087-47d4-9ece-b19132dec419",
"Distinguisher": "sample string 3",
"StreetName": "sample string 4",
"StreetNumber": "sample string 5",
"ApartmentNumber": "sample string 6",
"Outlet": "sample string 7",
"StreetLittera": "sample string 8",
"City": "sample string 9",
"Zipcode": "sample string 10",
"CountryCode": "sample string 11"
},
"Product": {
"Id": "0344a181-34b6-4811-a165-e37f51c4b57d",
"ClientProductName": "sample string 2",
"ClientCampaignCode": "sample string 3",
"PublicName": "sample string 4",
"PublicDescription": "sample string 5",
"BindingPeriod": "sample string 6",
"Notice": "sample string 7",
"ShowCommunicationOperatorFee": true,
"RegularPrice": 9.0,
"RetailPrice": 10.0,
"RetailStartPrice": 11.0,
"CampaignId": "2552337e-4f17-4e02-873b-b8f3de78c0a2",
"CampaignPrice": 12.0,
"CampaignPeriod": 13,
"IsMarketingCampaign": true,
"CommunicationOperatorFee": 15.0,
"CommunicationOperatorFeeStartPrice": 16.0,
"ProviderName": "sample string 17",
"ServiceType": 18,
"VAT": 19,
"ImageType": "sample string 20",
"RetailPriceDisplay": "10,00 kr",
"RetailStartPriceDisplay": "11,00 kr",
"CommunicationOperatorFeeDisplay": "15,00 kr",
"CommunicationOperatorFeeStartPriceDisplay": "16,00 kr",
"ServiceTypeDisplayName": "Okänd kategori. Enum: 18",
"ProductPriceCampaigns": [
{
"Key": "sample string 1",
"Name": "sample string 2"
},
{
"Key": "sample string 1",
"Name": "sample string 2"
}
],
"ProductPriceCampaignFallbackId": "sample string 21",
"SortIndex": 22,
"IsCompany": true,
"IsDisabled": true,
"Up": 25,
"Down": 26,
"ServiceTargetGroupEnumId": 27
}
}
]