OrderDeliveries
Returns data regarding shipping destinations.
Select
The 本製品 will use the GMO MakeShop API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the 本製品.
- OrderNumber column supports the = operator.
- Date column supports the >,>=,=,<=,< operators. When no column filters are specified, we will default to retrieving information related to orders from the last 6 months.
- Canceled pseudo-column supports the = operator.
SELECT * FROM OrderDeliveries WHERE OrderNumber = 'ORD12345' AND Date >= '2018-09-04 22:54:43+01:00' AND Date <= '2018-09-04 23:54:43+01:00'
SELECT * FROM OrderDeliveries WHERE Date > '2018-09-04 22:54:43+01:00' AND Date < '2018-09-04 23:54:43+01:00'
SELECT * FROM OrderDeliveries WHERE Date = '2018-09-04 23:54:43+01:00' AND Canceled = 1
Columns
Name | Type | Description |
OrderNumber [KEY] | String | Order number. |
Date | Datetime | Order date. |
DeliveryId [KEY] | Integer | Id of the order delivery. |
DeliveryNumber | String | Shipping slip number. |
DeliveryOrder | Integer | Shipping instructions - 0: not instructed, 1: shipping instructed, 2: shipping preparation in progress |
Status | Integer | Status of the order delivery. |
OfficeName | String | Destination company name. |
OfficeNameKana | String | Destination company name phonetic. |
Department | String | Destination department name. |
Name | String | Destination name. |
NameKana | String | Destination name phonetic. |
PhoneNumber | String | Destination phone number. |
Zip | String | Destination postal code. |
Area | String | Destination prefecture. |
Address | String | Destination street address. |
DeliveryDate | Date | Desired delivery day. |
DeliveryTime | String | Desired delivery time. |
ScheduledShippingDate | Date | Estimated shipping date. |
ShippingDate | Datetime | Delivery completion date and time. |
Carrier | String | Delivery trader code. |
Pseudo-Columns
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
Canceled | Integer | Specify this as 1 to acquire canceled orders. Defaults to 0 and canceled orders will not be retrieved.
使用できる値は次のとおりです。0, 1 |