Skip to main content

checkoutSellerShippingMethodsUpdate

Updates the seller shipping methods of the checkout.

checkoutSellerShippingMethodsUpdate(
checkoutId: ID!
seller: ID!
shippingMethodPriceOverrideAmount: PositiveDecimal
shippingMethodSelection: ID!
): CheckoutSellerShippingMethodsUpdate

Arguments

checkoutSellerShippingMethodsUpdate.checkoutId ● ID! non-null scalar

Checkout ID.

checkoutSellerShippingMethodsUpdate.seller ● ID! non-null scalar

Seller DB id representation as a string.

checkoutSellerShippingMethodsUpdate.shippingMethodPriceOverrideAmount ● PositiveDecimal deprecated scalar

DEPRECATED

Price overrides on checkouts are inherently dangerous because checkouts serve both authenticated and unauthenticated users.

Optional override amount for shipping method price.Be aware, you should send this field on each request. For example, if you will set this field and then will send the same shipping method (or a new one) without this field (in the context of the same seller) - the price will be restored based on the shipping method price.

checkoutSellerShippingMethodsUpdate.shippingMethodSelection ● ID! non-null scalar

Type

CheckoutSellerShippingMethodsUpdate object

Updates the seller shipping methods of the checkout.

Was this page helpful?