Release date | Date version is no longer supported |
---|---|
April 1, 2020 | July 1, 2021 |
The Order, Refund, and AbandonedCheckout resources have been updated to help manage duties and taxes.
New properties
current_total_duties_set
property to Order resource.original_total_duties_set
property to Order resource.duties
to line_items
object in Order resource.Updated properties
total_price_set
property to include any duties that have been charged during checkout on an international order.New properties
duties
to Refund resource.New properties
total_duties
property to Abandoned checkout resource.New properties
duties
to line_items
object in Fulfillment resource.Updated properties
inventory_management
property on FulfillmentService resource can now be edited.Bulk price reduction mutations and associated fields have been removed.
Removed fields
productBulkRemovePriceReductions
was removed from object type Mutation
productBulkAddPriceReductions
was removed from object type Mutation
Removed types
ProductBulkRemovePriceReductionsPayload
was removedPriceReductionInput
was removedProductBulkAddPriceReductionsPayload
was removedNew values have been added to the MediaErrorCode type to better represent the different types of errors that can occur when creating media objects.
Updated types
EXTERNAL_VIDEO_INVALID_ASPECT_RATIO
value was added to enum MediaErrorCodeMODEL3D_VALIDATION_ERROR
value was added to enum MediaErrorCodeMEDIA_TIMEOUT_ERROR
value was added to enum MediaErrorCodeIMAGE_PROCESSING_FAILURE
value was added to enum MediaErrorCodeIMAGE_DOWNLOAD_FAILURE
value was added to enum MediaErrorCodeEXTERNAL_VIDEO_UNLISTED
value was added to enum MediaErrorCodeEXTERNAL_VIDEO_NOT_FOUND
value was added to enum MediaErrorCodeVIDEO_VALIDATION_ERROR
value was added to enum MediaErrorCodeYou can now return the updatedAt
and createdAt
dates for metafields and private metafields.
New fields
updatedAt
field was added to object type PrivateMetafieldcreatedAt
field was added to object type PrivateMetafieldupdatedAt
field was added to object type MetafieldcreatedAt
field was added to object type MetafieldYou can now generate an account activation URL that customers can use to activate their account.
New mutations
customerGenerateAccountActivationUrl
was added.New types
CustomerGenerateAccountActivationUrlPayload
was addedYou can now manage the taxes and duties applied to orders that ship internationally.
New fields
totalDutiesSet
field was added to object type SuggestedRefund
refundDuties
field was added to object type SuggestedRefund
refundDuties
optional argument was added to SuggestedRefund
duties
field was added to object type Refund
duties
field was added to object type LineItem
originalTotalDutiesSet
field was added to object type Order
currentTotalDutiesSet
field was added to object type Order
refundDuties
field was added to input object type RefundInput
New types
Duty
was addedRefundDutyRefundType
enum was addedRefundDutyInput
was addedRefundDuty
was addedUpdated mutations
refundDuties
optional argument was added to refundCreate.The following changes have been made to delivery profiles:
Updated fields
DeliveryMethodDefinitionType
argument was added to field DeliveryLocationGroupZone.methodDefinitions
New fields
methodDefinitionCounts
field was added to object type DeliveryLocationGroupZoneNew types
DeliveryMethodDefinitionType
was addedDeliveryMethodDefinitionCounts
was addedYou can now query a fulfillment service by ID.
New fields
fulfillmentService
was added to QueryRoot
A new error code that's returned when a customer provides an invalid email domain during checkout.
Updated types
BAD_DOMAIN
value was added to enum CustomerErrorCode
You can now query order editing information using the Storefront API and have better visibility into order state.
New types
OrderCancelReason
was addedOrderFulfillmentStatus
was addedOrderFinancialStatus
was addedNew fields
discountedTotalPrice
was added to object type OrderLineItemcurrentQuantity
was added to object type OrderLineItemoriginalTotalPrice
was added to object type OrderLineItemoriginalTotalPrice
was added to object type OrderfulfillmentStatus
was added to object type OrderfinancialStatus
was added to object type Orderedited
was added to object type OrdercurrentTotalTax
was added to object type OrdercurrentTotalPrice
was added to object type OrdercurrentSubtotalPrice
was added to object type OrdercanceledAt
was added to object type OrdercancelReason
was added to object type OrderA new checkoutComplete mutation with updated token type requirements.
New mutations
checkoutCompleteWithTokenizedPaymentV3
was addedNew types
PaymentTokenType
was addedTokenizedPaymentInputV3
was addedCheckoutCompleteWithTokenizedPaymentV3Payload
was addedYou can now activate customer accounts using a generated URL.
New mutations
customerActivateByUrl
was added.New types
CustomerActivateByUrlPayload
was addedYou can now create customer access tokens for the Storefront API using multipass.
Updated types
INVALID_MULTIPASS_REQUEST
value was added to enum CustomerErrorCode
New mutations
customerAccessTokenCreateWithMultipass
was addedNew types
CustomerAccessTokenCreateWithMultipassPayload
was addedYou can now view additional inventory and stock information on products and product variants.
New fields
totalInventory
field was added to object type Product
compareAtPriceRange
field was added to object type Product
quantityAvailable
field was added to object type ProductVariant
currentlyNotInStock
field was added to object type ProductVariant
You can now query the unit price of checkout line items.
New fields
unitPrice
field was added to object type CheckoutLineItem
SDK | Supported Versions |
---|---|
Mobile Buy SDK Android | 5.0.0 |
Mobile Buy SDK iOS | 4.0.0 |
Unity Buy SDK | N/A |
JS Buy SDK | 2.10.0 |
Buy Button JS | 2.1.3 |