---
title: "Post Shopify Carrier Service"
method: POST
path: "/shopify/dates_and_rates"
---

# Post Shopify Carrier Service

`POST /shopify/dates_and_rates`

## Headers

- `x-shopify-shop-domain` string, required

## Request body

- CarrierRequest
  - `rate` ShopifyRateRequest, required
    - `origin` ShopifyOriginAddress, required
      - `address1` string, required
      - `address2` string, nullable
      - `address3` string, nullable
      - `city` string, required
      - `postal_code` string, nullable
      - `province` string, nullable, required
      - `country` string, required
      - `name` string
      - `phone` string
      - `email` string
      - `fax` string, nullable
      - `address_type` string, nullable
      - `company_name` string, nullable
    - `destination` ShopifyDestinationAddress, required
      - `address1` string, required
      - `address2` string, nullable
      - `address3` string, nullable
      - `city` string, required
      - `postal_code` string, nullable
      - `province` string, nullable, required
      - `country` string, required
      - `name` string
      - `phone` string
      - `email` string
      - `fax` string, nullable
      - `address_type` string, nullable
      - `company_name` string, nullable
    - `items` ShopifyLineItem[], required
      - `name` string, nullable, required
      - `sku` string, nullable, required
      - `quantity` integer, required
      - `grams` integer, nullable, required
      - `price` number, nullable, required
      - `vendor` string, nullable, required
      - `requires_shipping` boolean, nullable, required
      - `taxable` boolean, nullable, required
      - `fulfillment_service` string, nullable, required
      - `properties` unknown, required
      - `product_id` integer, nullable, required
      - `variant_id` integer, nullable, required
    - `order_totals` ShopifyOrderTotals
      - `subtotal_price` integer
      - `total_price` integer
      - `discount_amount` integer
    - `currency` string
    - `locale` string
    - `currency_conversion` CurrencyConversionContext
      - `original_amount` number, required
      - `original_currency` string, required
      - `usd_amount` number, required
      - `fx_rate_to_usd` number, required
      - `source` string, required
      - `as_of` string, date-time, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/datesnrates/apis/fastapi.md) · [All operations](https://skmtc.net/datesnrates/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datesnrates/fastapi/revisions/43f2d92fc888/schema)
