Skip to content
Open
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
10 changes: 10 additions & 0 deletions reference/orders.sf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,22 @@ paths:
type: string
enum:
- lineItems
- lineItems.physicalItems
- lineItems.physicalItems.socialMedia
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

socialMedia attribute also not defined in ItemPhysical

- lineItems.physicalItems.options
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like options attribute is not definied in the ItemPhysical 🤔

- lineItems.physicalItems.categories
Comment on lines +58 to +61
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- lineItems.physicalItems
- lineItems.physicalItems.socialMedia
- lineItems.physicalItems.options
- lineItems.physicalItems.categories
- lineItems.physicalItems
- lineItems.physicalItems.giftWrapping
- lineItems.physicalItems.socialMedia
- lineItems.physicalItems.options
- lineItems.physicalItems.categories

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't include gift wrapping as that is always included by default. So adding the parameter wont have an effect

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably out of scope of this PR: should we also update the schema for the "ItemPhysical.categories" :

categories:
type: array
description: Categories the item belongs to.
items:
type: object
properties: {}

- lineItems.digitalItems
- lineItems.digitalItems.socialMedia
- lineItems.digitalItems.options
- lineItems.digitalItems.categories
- lineItems.giftCertificates
- billingAddress
- coupons
- currency
- taxes
- payments
- consignments
- fees
responses:
'200':
description: ''
Expand Down