Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEVDOCS-4469: [add] Orders, PUT - Support Single Shipping Consignment #36

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 21 additions & 3 deletions reference/orders.v2.oas2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ paths:
schema:
$ref: '#/components/schemas/order_Put'
examples:
application/json:
Updating an Order:
value:
status_id: 0
customer_id: 11
Expand Down Expand Up @@ -182,6 +182,24 @@ paths:
value: 12
price_inc_tax: 12.45
price_ex_tax: 10.12
Updating an Order's Shipping Consignment:
value:
consignments:
- shipping:
id: 149
line_items:
- id: 123
quantity: 1
first_name: "Jane"
last_name: "Doe"
company: "BC"
street_1: "123 Main Street"
city: "Austin"
state: "Texas"
zip: "78751"
country: "United States"
country_iso": "US"
email: "[email protected]"
required: true
responses:
'200':
Expand Down Expand Up @@ -300,7 +318,7 @@ paths:
zip: '78751'
country: United States
country_iso2: US
email: janedoe@email.com
email: janedoe@example.com
products:
- name: BigCommerce Coffee Mug
quantity: 1
Expand Down Expand Up @@ -1822,7 +1840,7 @@ components:
country: United States
country_iso2: US
phone: '1234567890'
email: janedoe@email.com
email: janedoe@example.com
form_fields:
name: Delivery Instructions
value: Leave in backyard
Expand Down
Loading