Updates shipping methods for stores in the cart.
input
ID
CartResponse
import { RyeClient, Marketplace } from "@rye-api/rye-sdk"; const ryeClient = new RyeClient({ authHeader: "<AUTH_HEADER>", shopperIp: "<SHOPPER_IP>", }); const result = await ryeClient.updateCartSelectedShippingOptions({ input: { id: "<CART_ID>", shippingOptions: [ { shippingId: "55cfdaa8c7702fb7f57be90", store: "rye-dev-store.myshopify.com", }, ], }, });
Was this page helpful?