You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 23, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: CHANGES.md
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,24 @@
1
1
# Change Log
2
2
3
+
## Version 2.20180918.0 (2018-09-18)
4
+
5
+
We have added Connect v2 Inventory API and birthdays in `Customer` entities.
6
+
7
+
### New API: Inventory API (Connect V2)
8
+
9
+
The Connect v2 Inventory API replaces the Connect v1 Inventory API
10
+
and introduces new functionality:
11
+
12
+
* Moving item variations quantities through predefined states
13
+
(e.g., from `IN_STOCK` to `WASTE`).
14
+
* Viewing the inventory adjustment history for an item variation.
15
+
* Batch inventory adjustments and information retrieval.
16
+
17
+
### New feature: Customer Birthdays (Connect V2)
18
+
19
+
* Customer profiles now include a `birthday` field.
20
+
Dates are recorded in RFC-3339 format and can be
21
+
set through the `CreateCustomer` and `UpdateCustomer` endpoints.
3
22
## Version 2.20180712.2 (2018-08-21)
4
23
5
24
The Connect SDK now includes functionality for the OAuth API. The Square OAuth API lets applications request and obtain permission from a Square account to make API calls on behalf of that account. Applications can request individual permissions so that users do not need to grant full access to their Square accounts.
@@ -157,7 +176,7 @@ represent the value of returned goods in an exchange, rather than actual money m
157
176
158
177
### New features: Orders API
159
178
160
-
* For Catalog-backed line items, setting `CreateOrderRequestLineItem.base_price_money` will now override
179
+
* For Catalog-backed line items, setting `CreateOrderRequestLineItem.base_price_money` will now override
161
180
the catalog item variation's price.
162
181
*`CreateOrderRequestModifier`s may now be created ad hoc using the new `name` and `base_price_money` fields.
**idempotency_key** | **String** | A client-supplied, universally unique identifier (UUID) for the request. See [Idempotency](/basics/api101/idempotency) in the [API Development 101](/basics/api101/overview) section for more information. | [optional]
11
+
**changes** | [**Array<InventoryChange>**](InventoryChange.md) | The set of physical counts and inventory adjustments to be made. Changes are applied based on the client-supplied timestamp and may be sent out of order. Max size is 100 changes. | [optional]
12
+
**ignore_unchanged_counts** | **BOOLEAN** | Indicates whether the current physical count should be ignored if the quantity is unchanged since the last physical count. Default: `true`. | [optional]
**catalog_object_ids** | **Array<String>** | Filters results by [CatalogObject](#type-catalogobject) ID. Only applied when set. Default: unset. | [optional]
11
+
**location_ids** | **Array<String>** | Filters results by [Location](#type-location) ID. Only applied when set. Default: unset. | [optional]
12
+
**types** | **Array<String>** | Filters results by [InventoryChangeType](#type-inventorychangetype). Default: [`PHYSICAL_COUNT`, `ADJUSTMENT`]. `TRANSFER` is not supported as a filter. | [optional]
13
+
**states** | **Array<String>** | Filters `ADJUSTMENT` query results by [InventoryState](#type-inventorystate). Only applied when set. Default: unset. | [optional]
14
+
**updated_after** | **String** | Provided as an RFC 3339 timestamp. Returns results whose `created_at` or `calculated_at` value is after the given time. Default: UNIX epoch (`1970-01-01T00:00:00Z`). | [optional]
15
+
**updated_before** | **String** | Provided as an RFC 3339 timestamp. Returns results whose `created_at` or `calculated_at` value is strictly before the given time. Default: UNIX epoch (`1970-01-01T00:00:00Z`). | [optional]
16
+
**cursor** | **String** | A pagination cursor returned by a previous call to this endpoint. Provide this to retrieve the next set of results for the original query. See [Paginating results](#paginatingresults) for more information. | [optional]
**errors** | [**Array<Error>**](Error.md) | Any errors that occurred during the request. | [optional]
11
+
**changes** | [**Array<InventoryChange>**](InventoryChange.md) | The current calculated inventory changes for the requested objects and locations. | [optional]
12
+
**cursor** | **String** | The pagination cursor to be used in a subsequent request. If unset, this is the final response. See [Paginating results](#paginatingresults) for more information. | [optional]
**catalog_object_ids** | **Array<String>** | Filters results by [CatalogObject](#type-catalogobject) ID. Only applied when set. Default: unset. | [optional]
11
+
**location_ids** | **Array<String>** | Filters results by [Location](#type-location) ID. Only applied when set. Default: unset. | [optional]
12
+
**updated_after** | **String** | Provided as an RFC 3339 timestamp. Returns results whose `calculated_at` value is after the given time. Default: UNIX epoch (`1970-01-01T00:00:00Z`). | [optional]
13
+
**cursor** | **String** | A pagination cursor returned by a previous call to this endpoint. Provide this to retrieve the next set of results for the original query. See [Paginating results](#paginatingresults) for more information. | [optional]
**errors** | [**Array<Error>**](Error.md) | Any errors that occurred during the request. | [optional]
11
+
**counts** | [**Array<InventoryCount>**](InventoryCount.md) | The current calculated inventory counts for the requested objects and locations. | [optional]
12
+
**cursor** | **String** | The pagination cursor to be used in a subsequent request. If unset, this is the final response. See [Paginating results](#paginatingresults) for more information. | [optional]
Copy file name to clipboardExpand all lines: docs/Card.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,6 @@ Name | Type | Description | Notes
14
14
**exp_year** | **Integer** | The four-digit year of the card's expiration date. | [optional]
15
15
**cardholder_name** | **String** | The cardholder name. This value is present only if this object represents a customer's card on file. | [optional]
16
16
**billing_address** | [**Address**](Address.md) | The card's billing address. This value is present only if this object represents a customer's card on file. | [optional]
17
-
**fingerprint** | **String** | The unique string fingerprint for the card. The fingerprint is based on the credit card number and is unique to the merchant. If a card is used at multiple locations for the same merchant, it will have the same fingerprint in each case. Note: Fingerprint may not exist on old transactions. | [optional]
17
+
**fingerprint** | **String** | The unique string fingerprint for the card. The fingerprint is based on the credit card number and is unique to the merchant. If a card is used at multiple locations for the same merchant, it will have the same fingerprint in each case. Note: Fingerprint may not exist on old transactions. | [optional]
Copy file name to clipboardExpand all lines: docs/CreateCustomerRequest.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,5 +16,6 @@ Name | Type | Description | Notes
16
16
**phone_number** | **String** | The customer's phone number. | [optional]
17
17
**reference_id** | **String** | An optional second ID you can set to associate the customer with an entity in another system. | [optional]
18
18
**note** | **String** | An optional note to associate with the customer. | [optional]
19
+
**birthday** | **String** | The customer birthday in RFC-3339 format. Year is optional, timezone and times are not allowed. Example: `0000-09-01T00:00:00-00:00` for a birthday on September 1st. `1998-09-01T00:00:00-00:00` for a birthday on September 1st 1998. | [optional]
0 commit comments