WebOrderHeader:
{
"Id": 0,
"ShopId": 0,
"OrderNo": "string",
"OrderReference": "string",
"OrderedOn": "2017-03-09T11:16:58.856Z",
"CreatedOn": "2017-03-09T11:16:58.856Z",
"ModifiedOn": "2017-03-09T11:16:58.856Z",
"LoyaltyMemberId": "string",
"MemberId": 0,
"WebshopId": 0,
"ReceiveAddress": "string",
"ReturnAddress": "string",
"PickedUpOn": "2017-03-09T11:16:58.856Z",
"IsPaid": true,
"WebOrderLines": [ ]
}
Property | Type | Nullable | Description |
---|---|---|---|
Id | int | no | Set by DB. Is unique. |
ShopId | int | no | This is the shop for which the Web Order is assigned. |
OrderNo | string(255) | no | Must be unique. This identifies the Web Order. |
OrderReference | string(255) | yes | This binds multiple Web Orders. |
OrderedOn | Utc DateTime | yes | This can be set to identify the ordered on DateTime. |
CreatedOn | Utc DateTime | no | Set on creation by DdD. |
ModifiedOn | Utc DateTime | no | Set on updates by DdD. |
LoyaltyMemberId | string | yes | This is the Loyalty member id. |
MemberId | int | no | This can be set to identify member id from external source. |
ReceiveAddress | string | yes | This is the receiver address. This will be printed for packaging. (max 5 lines of 25 chars, # as newline) |
ReturnAddress | string | yes | This is the return address. This will be printed for packaging. (max 5 lines of 25 chars, # as newline) |
PickedUpOn | Utc DateTime | yes | Set by DdD. |
IsPaid | bool | no | This is set to identify whether a Web Order is paid or not. |
WebOrderLines | list | no | This is the list contaning WebOrderLines. |