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

Commit 1f706c1

Browse files
author
Tarun Vijwani
authored
Change Type for shipping_address and billing_address to object (#6974)
* Change Type for shipping_address and billing_address to object * Fix description
1 parent 2a0b3be commit 1f706c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/StoreApi/docs/checkout.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ POST /wc/store/v1/checkout
8383

8484
| Attribute | Type | Required | Description |
8585
| :----------------- | :----- | :------: | :------------------------------------------------------------------ |
86-
| `billing_address` | array | Yes | Array of updated billing address data for the customer. |
87-
| `shipping_address` | array | Yes | Array of updated shipping address data for the customer. |
86+
| `billing_address` | object | Yes | Object of updated billing address data for the customer. |
87+
| `shipping_address` | object | Yes | Object of updated shipping address data for the customer. |
8888
| `customer_note` | string | No | Note added to the order by the customer during checkout. |
8989
| `payment_method` | string | Yes | The ID of the payment method being used to process the payment. |
9090
| `payment_data` | array | No | Data to pass through to the payment method when processing payment. |

0 commit comments

Comments
 (0)