Skip to main content
POST

Overview

Sets the shipping method for the cart. You must set shipping information first to get available shipping methods.

Authentication

string
required
Device authentication token from browser session

Path Parameters

string
required
Merchant domain (e.g., staging.luma.gift)

Request Body

string
required
Shipping method SKU from available options (e.g., standard_ground)

Response

Returns the cart with the selected shipping method and updated pricing.

Response Fields

Same as Get Cart response, with the selected shipping method reflected in pricing.

Error Responses

400 Bad Request

  • Missing or invalid authentication header
  • Invalid shipping method

404 Not Found

Cart not found

412 Precondition Failed

  • Shipping information must be set first
  • Cart must have at least one item