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": "bfae7e9e-c468-4b13-875d-bb8e8fc60257",
"CustomerId": "bb5be9ce-5d31-4ac4-b2be-0f4ee75cdd61",
"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": "d9902b76-6004-472e-b8f7-e92d69367719",
"Access": {
"Id": "d708d56e-21bc-4bd1-9450-d528c917cda0",
"ProviderId": "657e27c6-9701-4887-b3a8-e018a3b8d462",
"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": "7ae06a15-12d4-4784-9a7e-1582dd657c4b",
"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": "5d839790-70c0-45a3-9432-237e08cfd59a",
"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": "bfae7e9e-c468-4b13-875d-bb8e8fc60257",
"CustomerId": "bb5be9ce-5d31-4ac4-b2be-0f4ee75cdd61",
"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": "d9902b76-6004-472e-b8f7-e92d69367719",
"Access": {
"Id": "d708d56e-21bc-4bd1-9450-d528c917cda0",
"ProviderId": "657e27c6-9701-4887-b3a8-e018a3b8d462",
"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": "7ae06a15-12d4-4784-9a7e-1582dd657c4b",
"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": "5d839790-70c0-45a3-9432-237e08cfd59a",
"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
}
}
]