OrderNotes
Returns data regarding order notes.
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 OrderNotes 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 OrderNotes WHERE Date > '2018-09-04 22:54:43+01:00' AND Date < '2018-09-04 23:54:43+01:00'
SELECT * FROM OrderNotes 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. |
NoteNumber [KEY] | String | Order note number. |
NoteTitle | String | Order note title. |
NoteValue | String | Order note. |
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 |