Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
restore geography and orders
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarah Riehl committed Dec 26, 2023
1 parent f401517 commit be5eee4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion reference/geography.v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
10 changes: 5 additions & 5 deletions reference/orders.v2.oas2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3762,15 +3762,15 @@ 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
ip_address_v6:
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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit be5eee4

Please sign in to comment.