---
title: "Update delivery method"
method: POST
path: "/customers/{customerId}/subscriptions/{subscriptionId}/delivery-method"
tags: ["Subscriptions"]
---

# Update delivery method

`POST /customers/{customerId}/subscriptions/{subscriptionId}/delivery-method`

Update the delivery method for a subscription contract.

## Path parameters

- `customerId` string, required
- `subscriptionId` string, required

## Request body

- object
  - `deliveryAddress` AddressShopify, required
    - `address1` string — Address line 1
    - `address2` string — Address line 2
    - `city` string — City
    - `company` string — Company
    - `countryCode` string — Country
    - `firstName` string — First name
    - `lastName` string — Last name
    - `phone` string — Phone
    - `provinceCode` string — Province
    - `zip` string — Zip
  - `localDeliveryOptions` unknown
  - `shippingOptionCode` string, required — Shipping option code returned from https://docs.awtomic.com/reference/getsubscriptionshippingoptions
  - `draftId` string, required — draftId returned from https://docs.awtomic.com/reference/getsubscriptionshippingoptions

## Response `200`

Updated delivery method

- object
  - `DeliveryMethod` string
  - `DeliveryPriceAmount` number
  - `FormattedDeliveryPrice` string
  - `FormattedSubscriptionTotal` string

## Other responses

- `400` — Validation error

---

[API](https://skmtc.net/awtomic/apis/awtomic-api.md) · [All operations](https://skmtc.net/awtomic/apis/awtomic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/awtomic/awtomic-api/versions/dfe3dfce125c/schema)
