Skip to content
Merged
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
185 changes: 25 additions & 160 deletions reference/orders.sf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,30 @@ components:
type: integer
taxTotal:
type: integer
totalDiscount:
type: number
description: The total amount of all discounts applied to the order.
example: 25.50
displayDiscountTotal:
type: number
description: The total discount amount to display to the shopper, which excludes the product-level automatic discounts and shipping automatic discounts.
example: 25.50
orderBasedAutoDiscountTotal:
type: number
description: Total discount amount from automatic promotions applied at the order level.
example: 10.00
manualDiscountTotal:
type: number
description: Total discount amount from manually applied discounts.
example: 5.00
productAutoDiscountedSubtotal:
type: number
description: Subtotal of all line items after automatic product-level discounts have been applied.
example: 89.50
productBasedAutoDiscountTotal:
type: number
description: Total discount amount from automatic product-level discounts.
example: 10.50
channelId:
type: number
description: ID of the channel which the order belongs to.
Expand Down Expand Up @@ -636,166 +660,7 @@ components:
type: string
description: the product type - physical or digital
x-internal: false
order_Nate:
type: object
properties:
orderId:
type: integer
cartId:
type: string
currency:
type: object
properties:
name:
type: string
code:
type: string
symbol:
type: string
decimalPlaces:
type: integer
isTaxIncluded:
type: boolean
baseAmount:
type: number
discountAmount:
type: integer
orderAmount:
type: number
orderAmountAsInteger:
type: integer
shippingCostTotal:
type: integer
shippingCostBeforeDiscount:
type: integer
handlingCostTotal:
type: integer
coupons:
type: array
items:
type: object
properties: {}
lineItems:
type: object
properties:
physicalItems:
type: array
items:
type: object
properties:
id:
type: integer
productId:
type: integer
name:
type: string
sku:
type: string
quantity:
type: integer
isTaxable:
type: boolean
imageUrl:
type: string
discounts:
type: array
items:
type: object
properties: {}
discountAmount:
type: integer
brand:
type: string
description: The product's brand.
listPrice:
type: number
salePrice:
type: number
extendedListPrice:
type: number
extendedSalePrice:
type: number
extendedComparisonPrice:
type: number
categories:
type: array
items:
type: object
properties: {}
type:
type: string
variantId:
type: integer
digitalItems:
type: array
items:
type: object
properties: {}
giftCertificates:
type: array
items:
type: object
properties: {}
customerId:
type: integer
billingAddress:
type: object
properties:
firstName:
type: string
lastName:
type: string
email:
type: string
company:
type: string
address1:
type: string
address2:
type: string
city:
type: string
stateOrProvince:
type: string
stateOrProvinceCode:
type: string
country:
type: string
countryCode:
type: string
postalCode:
type: string
phone:
type: string
customFields:
type: array
items:
type: object
properties: {}
status:
type: string
customerCanBeCreated:
type: boolean
hasDigitalItems:
type: boolean
isDownloadable:
type: boolean
isComplete:
type: boolean
customerMessage:
type: string
taxes:
type: array
items:
type: object
properties:
name:
type: string
amount:
type: integer
taxTotal:
type: integer
x-internal: false

Consignments:
title: Consignments
type: object
Expand Down