Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.

Commit 524c8fe

Browse files
authored
Release 2.20190612.0 (#98)
1 parent 570e541 commit 524c8fe

116 files changed

Lines changed: 4065 additions & 285 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGES.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Change Log
22

3+
## Version 2.20190612.0 (2019-06-12)
4+
5+
* **BETA releases**:
6+
* Orders API: supports service charges with a new field and datatype.
7+
* Catalog API: supports measurement unites for item variation quantities with a new field and datatype.
8+
* **New functionality**: `Order` entities — now include a `source` field that contains details on where the order originated.
9+
* **Improved functionality**: ListLocations — Expanded business information available through the Locations API, including business hours, contact email, social media handles, and longitude/latitude for physical locations.
10+
311
## Version 2.20190508.0 (2019-05-08)
412

513
## Details
@@ -62,15 +70,15 @@
6270
## New API: Labor API
6371

6472
The Labor API now includes functionality
65-
that gives a Square account the ability to track and retrieve employee labor hours
66-
including multiple hourly wage rates per employee, work shift break tracking, and
73+
that gives a Square account the ability to track and retrieve employee labor hours
74+
including multiple hourly wage rates per employee, work shift break tracking, and
6775
standardized break templates.
6876

6977
See the Connect v2 Technical Reference.
7078

7179
## New API: Employees API
7280

73-
The Employees API includes the ability to list employees for a Square
81+
The Employees API includes the ability to list employees for a Square
7482
account and retrieve a single employee by ID.
7583

7684
See the Connect v2 Technical Reference.

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,11 +265,14 @@ Class | Method | HTTP request
265265
- [CatalogItem](docs/CatalogItem.md)
266266
- [CatalogItemModifierListInfo](docs/CatalogItemModifierListInfo.md)
267267
- [CatalogItemVariation](docs/CatalogItemVariation.md)
268+
- [CatalogMeasurementUnit](docs/CatalogMeasurementUnit.md)
268269
- [CatalogModifier](docs/CatalogModifier.md)
269270
- [CatalogModifierList](docs/CatalogModifierList.md)
270271
- [CatalogModifierOverride](docs/CatalogModifierOverride.md)
271272
- [CatalogObject](docs/CatalogObject.md)
272273
- [CatalogObjectBatch](docs/CatalogObjectBatch.md)
274+
- [CatalogPricingRule](docs/CatalogPricingRule.md)
275+
- [CatalogProductSet](docs/CatalogProductSet.md)
273276
- [CatalogQuery](docs/CatalogQuery.md)
274277
- [CatalogQueryExact](docs/CatalogQueryExact.md)
275278
- [CatalogQueryItemsForModifierList](docs/CatalogQueryItemsForModifierList.md)
@@ -279,11 +282,13 @@ Class | Method | HTTP request
279282
- [CatalogQuerySortedAttribute](docs/CatalogQuerySortedAttribute.md)
280283
- [CatalogQueryText](docs/CatalogQueryText.md)
281284
- [CatalogTax](docs/CatalogTax.md)
285+
- [CatalogTimePeriod](docs/CatalogTimePeriod.md)
282286
- [CatalogV1Id](docs/CatalogV1Id.md)
283287
- [ChargeRequest](docs/ChargeRequest.md)
284288
- [ChargeRequestAdditionalRecipient](docs/ChargeRequestAdditionalRecipient.md)
285289
- [ChargeResponse](docs/ChargeResponse.md)
286290
- [Checkout](docs/Checkout.md)
291+
- [Coordinates](docs/Coordinates.md)
287292
- [CreateBreakTypeRequest](docs/CreateBreakTypeRequest.md)
288293
- [CreateBreakTypeResponse](docs/CreateBreakTypeResponse.md)
289294
- [CreateCheckoutRequest](docs/CreateCheckoutRequest.md)
@@ -382,8 +387,10 @@ Class | Method | HTTP request
382387
- [OrderReturnDiscount](docs/OrderReturnDiscount.md)
383388
- [OrderReturnLineItem](docs/OrderReturnLineItem.md)
384389
- [OrderReturnLineItemModifier](docs/OrderReturnLineItemModifier.md)
390+
- [OrderReturnServiceCharge](docs/OrderReturnServiceCharge.md)
385391
- [OrderReturnTax](docs/OrderReturnTax.md)
386392
- [OrderRoundingAdjustment](docs/OrderRoundingAdjustment.md)
393+
- [OrderServiceCharge](docs/OrderServiceCharge.md)
387394
- [OrderSource](docs/OrderSource.md)
388395
- [Refund](docs/Refund.md)
389396
- [RegisterDomainRequest](docs/RegisterDomainRequest.md)
@@ -431,6 +438,8 @@ Class | Method | HTTP request
431438
- [ShiftWage](docs/ShiftWage.md)
432439
- [ShiftWorkday](docs/ShiftWorkday.md)
433440
- [SourceApplication](docs/SourceApplication.md)
441+
- [StandardUnitDescription](docs/StandardUnitDescription.md)
442+
- [StandardUnitDescriptionGroup](docs/StandardUnitDescriptionGroup.md)
434443
- [Tender](docs/Tender.md)
435444
- [TenderCardDetails](docs/TenderCardDetails.md)
436445
- [TenderCashDetails](docs/TenderCashDetails.md)
@@ -578,6 +587,7 @@ Class | Method | HTTP request
578587

579588
## Documentation For Enums
580589

590+
- [AggregationStrategy](docs/AggregationStrategy.md)
581591
- [CardBrand](docs/CardBrand.md)
582592
- [CatalogDiscountType](docs/CatalogDiscountType.md)
583593
- [CatalogItemProductType](docs/CatalogItemProductType.md)
@@ -600,6 +610,7 @@ Class | Method | HTTP request
600610
- [LocationStatus](docs/LocationStatus.md)
601611
- [LocationType](docs/LocationType.md)
602612
- [MeasurementUnitArea](docs/MeasurementUnitArea.md)
613+
- [MeasurementUnitGeneric](docs/MeasurementUnitGeneric.md)
603614
- [MeasurementUnitLength](docs/MeasurementUnitLength.md)
604615
- [MeasurementUnitVolume](docs/MeasurementUnitVolume.md)
605616
- [MeasurementUnitWeight](docs/MeasurementUnitWeight.md)
@@ -610,6 +621,7 @@ Class | Method | HTTP request
610621
- [OrderLineItemDiscountType](docs/OrderLineItemDiscountType.md)
611622
- [OrderLineItemTaxScope](docs/OrderLineItemTaxScope.md)
612623
- [OrderLineItemTaxType](docs/OrderLineItemTaxType.md)
624+
- [OrderServiceChargeCalculationPhase](docs/OrderServiceChargeCalculationPhase.md)
613625
- [OrderState](docs/OrderState.md)
614626
- [Product](docs/Product.md)
615627
- [RefundStatus](docs/RefundStatus.md)

docs/AggregationStrategy.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# AggregationStrategy
2+
3+
4+
### Description
5+
6+
Indicates how a [CatalogPricingRule](#type-catalogpricingrule) can be combined with other rules.
7+
8+
## Properties
9+
Name | Type
10+
------------ | -------------
11+
**UNKNOWN** | string
12+
**BASE** | string
13+
**STACKABLE** | string
14+
**EXCLUSIVE** | string
15+
16+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
17+
18+

docs/ApplePayApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Method | HTTP request
1414
1515
### Description
1616

17-
Activates a domain for use with Web Apple Pay and Square. A validation will be performed on this domain by Apple to ensure is it properly set up as an Apple Pay enabled domain. This endpoint provides an easy way for platform developers to bulk activate Web Apple Pay with Square for merchants using their platform. To learn more about Apple Pay on Web see the Apple Pay section in the [Embedding the Square Payment Form](/payments/sqpaymentform/overview) guide.
17+
Activates a domain for use with Web Apple Pay and Square. A validation will be performed on this domain by Apple to ensure is it properly set up as an Apple Pay enabled domain. This endpoint provides an easy way for platform developers to bulk activate Web Apple Pay with Square for merchants using their platform. To learn more about Apple Pay on Web see the Apple Pay section in the [Embedding the Square Payment Form](/payment-form/add-digital-wallets/apple-pay) guide.
1818

1919
### Parameters
2020

docs/BatchRetrieveCatalogObjectsRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Name | Type | Description | Notes
1010
------------ | ------------- | ------------- | -------------
1111
**object_ids** | **list[str]** | The IDs of the [CatalogObject](#type-catalogobject)s to be retrieved. |
12-
**include_related_objects** | **bool** | If `true`, the response will include additional objects that are related to the requested objects, as follows: If the `objects` field of the response contains a [CatalogItem](#type-catalogitem), its associated [CatalogCategory](#type-catalogcategory), [CatalogTax](#type-catalogtax)es, and [CatalogModifierList](#type-catalogmodifierlist)s will be returned in the `related_objects` field of the response. If the `objects` field of the response contains a [CatalogItemVariation](#type-catalogitemvariation), its parent [CatalogItem](#type-catalogitem) will be returned in the `related_objects` field of the response. | [optional]
12+
**include_related_objects** | **bool** | If `true`, the response will include additional objects that are related to the requested objects, as follows: If the `objects` field of the response contains a [CatalogItem](#type-catalogitem), its associated [CatalogCategory](#type-catalogcategory), [CatalogTax](#type-catalogtax)es, [CatalogImage](#type-catalogimage)s and [CatalogModifierList](#type-catalogmodifierlist)s will be returned in the `related_objects` field of the response. If the `objects` field of the response contains a [CatalogItemVariation](#type-catalogitemvariation), its parent [CatalogItem](#type-catalogitem) will be returned in the `related_objects` field of the response. | [optional]
1313

1414
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1515

docs/Card.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Name | Type | Description | Notes
1515
**exp_year** | **int** | The four-digit year of the card's expiration date. | [optional]
1616
**cardholder_name** | **str** | The name of the cardholder. | [optional]
1717
**billing_address** | [**Address**](Address.md) | The billing address for this card. | [optional]
18-
**fingerprint** | **str** | __Not currently set.__ Intended as a Square-assigned identifier, based on the card number, to identify the card across multiple locations within a single application. | [optional]
18+
**fingerprint** | **str** | A unique, Square-assigned ID that identifies the card across multiple locations and applications for a single Square account. | [optional]
1919

2020
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
2121

docs/CatalogApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ Assign your **Access Token** from developer portal to the authorization paramete
136136
137137
### Description
138138

139-
Returns a list of [CatalogObject](#type-catalogobject)s that includes all objects of a set of desired types (for example, all [CatalogItem](#type-catalogitem) and [CatalogTax](#type-catalogtax) objects) in the catalog. The types parameter is specified as a comma-separated list of valid [CatalogObject](#type-catalogobject) types: `ITEM`, `ITEM_VARIATION`, `MODIFIER`, `MODIFIER_LIST`, `CATEGORY`, `DISCOUNT`, `TAX`.
139+
Returns a list of [CatalogObject](#type-catalogobject)s that includes all objects of a set of desired types (for example, all [CatalogItem](#type-catalogitem) and [CatalogTax](#type-catalogtax) objects) in the catalog. The `types` parameter is specified as a comma-separated list of valid [CatalogObject](#type-catalogobject) types: `ITEM`, `ITEM_VARIATION`, `MODIFIER`, `MODIFIER_LIST`, `CATEGORY`, `DISCOUNT`, `TAX`. __Important:__ ListCatalog does not return deleted catalog items. To retrieve deleted catalog items, use SearchCatalogObjects and set `include_deleted_objects` to `true`.
140140

141141
### Parameters
142142

docs/CatalogInfoResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
1010
------------ | ------------- | ------------- | -------------
1111
**errors** | [**list[Error]**](Error.md) | The set of [Error](#type-error)s encountered. | [optional]
1212
**limits** | [**CatalogInfoResponseLimits**](CatalogInfoResponseLimits.md) | | [optional]
13+
**standard_unit_description_group** | [**StandardUnitDescriptionGroup**](StandardUnitDescriptionGroup.md) | Names and abbreviations for standard units. | [optional]
1314

1415
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1516

docs/CatalogItem.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Name | Type | Description | Notes
1919
**tax_ids** | **list[str]** | A set of IDs indicating the [CatalogTax](#type-catalogtax)es that are enabled for this item. When updating an item, any taxes listed here will be added to the item. [CatalogTax](#type-catalogtax)es may also be added to or deleted from an item using `UpdateItemTaxes`. | [optional]
2020
**modifier_list_info** | [**list[CatalogItemModifierListInfo]**](CatalogItemModifierListInfo.md) | A set of [CatalogItemModifierListInfo](#type-catalogitemmodifierlistinfo) objects representing the modifier lists that apply to this item, along with the overrides and min and max limits that are specific to this item. [CatalogModifierList](#type-catalogmodifierlist)s may also be added to or deleted from an item using `UpdateItemModifierLists`. | [optional]
2121
**image_url** | **str** | __Deprecated__. The URL of an image representing this item. Deprecated in favor of `image_id` in [`CatalogObject`](#type-catalogobject). | [optional]
22-
**variations** | [**list[CatalogObject]**](CatalogObject.md) | A list of [CatalogObject](#type-catalogobject)s containing the [CatalogItemVariation](#type-catalogitemvariation)s for this item. | [optional]
22+
**variations** | [**list[CatalogObject]**](CatalogObject.md) | A list of [CatalogObject](#type-catalogobject)s containing the [CatalogItemVariation](#type-catalogitemvariation)s for this item. Maximum: 250 item variations | [optional]
2323
**product_type** | **str** | The product type of the item. May not be changed once an item has been created. Only items of product type `REGULAR` may be created by this API; items with other product types are read-only. See [CatalogItemProductType](#type-catalogitemproducttype) for possible values | [optional]
2424
**skip_modifier_screen** | **bool** | If `false`, the Square Point of Sale app will present the [CatalogItem](#type-catalogitem)'s details screen immediately, allowing the merchant to choose [CatalogModifier](#type-catalogmodifier)s before adding the item to the cart. This is the default behavior. If `true`, the Square Point of Sale app will immediately add the item to the cart with the pre-selected modifiers, and merchants can edit modifiers by drilling down onto the item's details. Third-party clients are encouraged to implement similar behaviors. | [optional]
2525

docs/CatalogItemVariation.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
### Description
55

6-
An item variation (i.e., product) in the Catalog object model.
6+
An item variation (i.e., product) in the Catalog object model. Each item may have a maximum of 250 item variations.
77

88
## Properties
99
Name | Type | Description | Notes
@@ -21,6 +21,8 @@ Name | Type | Description | Notes
2121
**inventory_alert_threshold** | **int** | If the inventory quantity for the variation is less than or equal to this value and `inventory_alert_type` is `LOW_QUANTITY`, the variation displays an alert in the merchant dashboard. This value is always an integer. | [optional]
2222
**user_data** | **str** | Arbitrary user metadata to associate with the item variation. Cannot exceed 255 characters. Searchable. | [optional]
2323
**service_duration** | **int** | If the [CatalogItem](#type-catalogitem) that owns this item variation is of type `APPOINTMENTS_SERVICE`, then this is the duration of the service in milliseconds. For example, a 30 minute appointment would have the value `1800000`, which is equal to 30 (minutes) * 60 (seconds per minute) * 1000 (milliseconds per second). | [optional]
24+
**catalog_measurement_unit_id** | **str** | Represents the unit used to measure a [CatalogItemVariation](#type-catalogitemvariation) and specifies the precision for decimal quantities. | [optional]
25+
**measurement_unit_id** | **str** | ID of the ‘CatalogMeasurementUnit’ that is used to measure the quantity sold of this item variation. If left unset, the item will be sold in whole quantities. | [optional]
2426

2527
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
2628

0 commit comments

Comments
 (0)