OrderDeliveryCarriages
Returns data regarding delivery carriage.
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 OrderDeliveryCarriages 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 OrderDeliveryCarriages WHERE Date > '2018-09-04 22:54:43+01:00' AND Date < '2018-09-04 23:54:43+01:00'
SELECT * FROM OrderDeliveryCarriages WHERE Date = '2018-09-04 23:54:43+01:00' AND Canceled = 1
Columns
Name | Type | Description |
OrderNumber [KEY] | String | Order number. |
DeliveryId [KEY] | Integer | Id of the order delivery. |
Date | Datetime | Order date. |
CarriageName [KEY] | String | Shipping method name. |
CarriagePrice | Integer | Shipping method price. |
CarriageCost | Integer | Shipping fee. |
CarriageDetail | String | Shipping details. |
CarriageCommodityBrandCode | String | Commodity brandcode. |
CarriageCommodityName | String | Commodity name. |
Pseudo-Columns
SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるタプルを詳細に制御することができます。
Name | Type | Description |
Canceled | Integer | Specify this as 1 to acquire cancelled orders. Defaults to 0 and cancelled orders will not be retrieved.
使用できる値は次のとおりです。0, 1 |