Skip to content

Commit

Permalink
Add target field object (with country_codes, subdivision_codes) to Ta…
Browse files Browse the repository at this point in the history
…x Provider Connection API docs
  • Loading branch information
theromulans committed Dec 23, 2024
1 parent 3ee14f8 commit 5cea0ab
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions reference/tax.v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,4 +207,20 @@ components:
Describes whether the stored credentials are considered complete and configured, ready to be used for Tax Provider API requests.
Merchants may enable any **configured** tax provider for storefront tax quotation.
target:
type: object
description: A checkout session's active tax provider connection will be determined by the target data.
properties:
country_codes:
type: array
items:
type: string
description: The list of country codes where the tax provider connection is active. ISO 3166-1 alpha-2.
example: ['AU', 'US']
subdivision_codes:
type: array
items:
type: string
description: The list of subdivision codes where the tax provider connection is active. ISO 3166-2 subdivision code, up to three alphanumeric characters, each with a ISO 3166-1 alpha-2 prefix.
example: ['AU-NSW', 'US-OH']
x-internal: false

0 comments on commit 5cea0ab

Please sign in to comment.