From be5eee4bbeff667cfaf41a24b1f25ec27351a227 Mon Sep 17 00:00:00 2001 From: Sarah Riehl Date: Tue, 26 Dec 2023 12:44:35 -0600 Subject: [PATCH] restore geography and orders --- reference/geography.v2.yml | 2 +- reference/orders.v2.oas2.yml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/reference/geography.v2.yml b/reference/geography.v2.yml index 3214a4e7e..64cf350a9 100644 --- a/reference/geography.v2.yml +++ b/reference/geography.v2.yml @@ -248,7 +248,7 @@ paths: tags: - States description: Returns a count of all states. - '/stores/{store_hash}/v2/countries/states': + '/countries/states': get: operationId: get-all-states responses: diff --git a/reference/orders.v2.oas2.yml b/reference/orders.v2.oas2.yml index 6cd6cadb1..22bdc2e3a 100644 --- a/reference/orders.v2.oas2.yml +++ b/reference/orders.v2.oas2.yml @@ -3762,7 +3762,7 @@ components: type: string description: |- IPv4 Address of the customer, if known. - + Note: You can set either `ip_address` or `ip_address_v6`. Setting the `ip_address` value will reset the `ip_address_v6` value and vice versa. example: 12.345.678.910 maxLength: 30 @@ -3770,7 +3770,7 @@ components: type: string description: |- IPv6 Address of the customer, if known. - + Note: You can set either `ip_address` or `ip_address_v6`. Setting the `ip_address_v6` value will reset the `ip_address` value and vice versa. example: '2001:db8:3333:4444:5555:6666:7777:8888' maxLength: 39 @@ -4107,10 +4107,10 @@ components: title: Custom product description: |- **Usage notes:** - + To `add` a custom product to an existing order, don't include `id` in the payload. You must provide a non-empty value for at least one of these fields: `name`, `name_customer`, or `name_merchant`. To `update` an order product line, `id` is required. The payload should only contain the fields that need to be updated. You cannot change omitted fields. - + Note the following constraints and default field values: - Empty strings `''` and `null` are invalid for `xxx`, `xxx_customer`, and `xxx_merchant`. - `name` and `name_customer` always hold the same value; updating either `name` or `name_customer` will change the value for both of those fields. @@ -4159,7 +4159,7 @@ components: To `add` a product to an existing order, don't include `id` in the payload. When adding a product with variants, `product_options` are required. To `update` an order product line, `id` is required. The payload should only contain the fields that need to be updated. The fields that you omit will not be changed. - + Note the following constraints and default field values: - `xxx` and `xxx_customer` always hold the same value. Updating either `xxx` or `xxx_customer` will change the value of both fields. - If both fields `xxx` and `xxx_customer` are present, they must have same value.