# Create shipping/delivery profile (V1 format - Legacy) Creates a new Shopify delivery profile with shipping zones and rates using the legacy V1 format. For new integrations, prefer the V2 endpoint which supports more advanced configuration. Key Features: - Single Location: Configure shipping for primary store location - Country-Based Zones: Define shipping zones by country - Fixed Rates: Set flat shipping costs per zone - Simple Configuration: Straightforward setup for basic shipping needs Configuration Structure: - Profile Name: Unique identifier for the delivery profile - Country Codes: List of countries in the shipping zone - Shipping Rate: Fixed price for the zone - Method Name: Display name for the shipping option Use Cases: - Simple country-based flat rate shipping - Basic free shipping configuration - Legacy system migrations - Single-warehouse operations Migration Note: Consider using the V2 endpoint (/api/external/v2/delivery-profiles/v2/create-shipping-profile) for enhanced features like multi-location support, province targeting, and flexible rate types. Authentication: Requires API key authentication via X-API-Key header or api_key parameter Endpoint: POST /api/external/v2/delivery-profiles/create-shipping-profile Version: 0.0.1 ## Query parameters: - `api_key` (string) API Key (Deprecated - Use Header X-API-Key instead) ## Header parameters: - `X-API-Key` (string) ## Request fields (application/json): - `name` (string) - `id` (integer) - `deliveryMethodInfo` (array) - `deliveryMethodInfo.amount` (number) - `deliveryMethodInfo.currencyCode` (string) Enum: "USD", "EUR", "GBP", "CAD", "AFN", "ALL", "DZD", "AOA", "ARS", "AMD", "AWG", "AUD", "BBD", "AZN", "BDT", "BSD", "BHD", "BIF", "BYN", "BZD", "BMD", "BTN", "BAM", "BRL", "BOB", "BWP", "BND", "BGN", "MMK", "KHR", "CVE", "KYD", "XAF", "CLP", "CNY", "COP", "KMF", "CDF", "CRC", "HRK", "CZK", "DKK", "DJF", "DOP", "XCD", "EGP", "ERN", "ETB", "FKP", "XPF", "FJD", "GIP", "GMD", "GHS", "GTQ", "GYD", "GEL", "GNF", "HTG", "HNL", "HKD", "HUF", "ISK", "INR", "IDR", "ILS", "IRR", "IQD", "JMD", "JPY", "JEP", "JOD", "KZT", "KES", "KID", "KWD", "KGS", "LAK", "LVL", "LBP", "LSL", "LRD", "LYD", "LTL", "MGA", "MKD", "MOP", "MWK", "MVR", "MRU", "MXN", "MYR", "MUR", "MDL", "MAD", "MNT", "MZN", "NAD", "NPR", "ANG", "NZD", "NIO", "NGN", "NOK", "OMR", "PAB", "PKR", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "WST", "SHP", "SAR", "RSD", "SCR", "SLL", "SGD", "SDG", "SOS", "SYP", "ZAR", "KRW", "SSP", "SBD", "LKR", "SRD", "SZL", "SEK", "CHF", "TWD", "THB", "TJS", "TZS", "TOP", "TTD", "TND", "TRY", "TMT", "UGX", "UAH", "AED", "UYU", "UZS", "VUV", "VES", "VND", "XOF", "YER", "ZMW", "USDC", "BYR", "STD", "STN", "VED", "VEF", "XXX", "$UNKNOWN" - `deliveryMethodInfo.carrierServiceId` (string) - `deliveryMethodInfo.priceConditions` (array) - `deliveryMethodInfo.priceConditions.deliverCondtion` (string) - `deliveryMethodInfo.weightConditions` (array) - `deliveryMethodInfo.weightConditions.deliveryCondition` (string) - `deliveryMethodInfo.weightConditions.weight` (number) - `deliveryMethodInfo.weightConditions.weightUnit` (string) - `countryInfos` (array) - `countryInfos.code` (string) - `countryInfos.restOfWorld` (boolean) - `countryInfos.provinceCode` (string) - `countryInfos.shouldIncludeAllProvince` (boolean) - `locationInfos` (array) - `locationInfos.locationId` (string) ## Response 201 fields (application/json): - `id` (integer) - `shop` (string, required) - `deliveryProfileId` (string, required) - `sellerGroupIds` (array) - `name` (string) ## Response 400 fields (*/*): - `id` (integer) - `shop` (string, required) - `deliveryProfileId` (string, required) - `sellerGroupIds` (array) - `name` (string) ## Response 401 fields (*/*): - `id` (integer) - `shop` (string, required) - `deliveryProfileId` (string, required) - `sellerGroupIds` (array) - `name` (string) ## Response 500 fields (*/*): - `id` (integer) - `shop` (string, required) - `deliveryProfileId` (string, required) - `sellerGroupIds` (array) - `name` (string)