Skip to content

Commit

Permalink
Merge pull request #75 from square/release/17.2.0
Browse files Browse the repository at this point in the history
Generated PR for Release: 17.2.0
  • Loading branch information
Wolfgang Schuster authored Feb 15, 2022
2 parents 87fc97d + aecdf5f commit f7da895
Show file tree
Hide file tree
Showing 63 changed files with 703 additions and 95 deletions.
4 changes: 2 additions & 2 deletions doc/api/inventory.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ bodychanges0PhysicalCount.catalogObjectType = 'catalog_object_type4';
bodychanges0PhysicalCount.state = 'IN_STOCK';
bodychanges0PhysicalCount.locationId = 'C6W5YS5QM06F5';
bodychanges0PhysicalCount.quantity = '53';
bodychanges0PhysicalCount.employeeId = 'LRK57NSQ5X7PUD05';
bodychanges0PhysicalCount.teamMemberId = 'LRK57NSQ5X7PUD05';
bodychanges0PhysicalCount.occurredAt = '2016-11-16T22:25:24.878Z';

const bodychanges0Adjustment: InventoryAdjustment = {};
Expand Down Expand Up @@ -353,7 +353,7 @@ bodychanges0PhysicalCount.catalogObjectType = 'catalog_object_type4';
bodychanges0PhysicalCount.state = 'IN_STOCK';
bodychanges0PhysicalCount.locationId = 'C6W5YS5QM06F5';
bodychanges0PhysicalCount.quantity = '53';
bodychanges0PhysicalCount.employeeId = 'LRK57NSQ5X7PUD05';
bodychanges0PhysicalCount.teamMemberId = 'LRK57NSQ5X7PUD05';
bodychanges0PhysicalCount.occurredAt = '2016-11-16T22:25:24.878Z';

const bodychanges0Adjustment: InventoryAdjustment = {};
Expand Down
14 changes: 8 additions & 6 deletions doc/api/merchants.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,16 @@ const merchantsApi = client.merchantsApi;

# List Merchants

Returns `Merchant` information for a given access token.
Provides details about the merchant associated with a given access token.

If you don't know a `Merchant` ID, you can use this endpoint to retrieve the merchant ID for an access token.
You can specify your personal access token to get your own merchant information or specify an OAuth token
to get the information for the merchant that granted you access.
The access token used to connect your application to a Square seller is associated
with a single merchant. That means that `ListMerchants` returns a list
with a single `Merchant` object. You can specify your personal access token
to get your own merchant information or specify an OAuth token to get the
information for the merchant that granted your application access.

If you know the merchant ID, you can also use the [RetrieveMerchant](/doc/api/merchants.md#retrieve-merchant)
endpoint to get the merchant information.
endpoint to retrieve the merchant information.

```ts
async listMerchants(
Expand Down Expand Up @@ -62,7 +64,7 @@ try {

# Retrieve Merchant

Retrieve a `Merchant` object for the given `merchant_id`.
Retrieves the `Merchant` object for the given `merchant_id`.

```ts
async retrieveMerchant(
Expand Down
Loading

0 comments on commit f7da895

Please sign in to comment.