# Create a new shipping/delivery profile Creates a new shipping or delivery profile for subscription orders. This endpoint allows you to configure custom shipping rates, delivery methods, and shipping zones for your subscription products. Delivery profiles control how subscription products are shipped to customers. Key Features: - Define custom shipping rates per zone - Configure local delivery options - Set up local pickup methods - Manage shipping zones and countries - Assign profiles to specific products or variants Delivery Method Types: - SHIPPING: Standard shipping with carrier rates or custom rates - LOCAL_DELIVERY: Local delivery service within specific areas - PICKUP: Customer pickup from store locations Important Notes: - Each delivery profile must have a unique name - At least one delivery method is required - Shipping rates can be set per zone and per weight/price range - Profiles can be assigned to subscription products to control their shipping behavior Authentication: Requires valid X-API-Key header 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.carrierRate` (boolean) - `deliveryMethodInfo.deliveryConditionType` (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 200 fields (application/json): - `id` (integer) - `shop` (string, required) - `deliveryProfileId` (string, required) - `sellerGroupIds` (array) - `name` (string) ## Response 400 fields ## Response 401 fields ## Response 403 fields ## Response 422 fields