Fulfillment & ShippingRates
Create shipping rate
Creates a rate for a shipping method with optional zone or postal-code matching, order-price and weight limits, and a type-specific price formula.
Header Parameters
x-Store-Id?string
Store the request acts on. Not needed when the token is bound to a store.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://api.ecomiq.pe/api/v1/shipping/rates" \ -H "x-Store-Id: <store-id>" \ -H "Authorization: Bearer <token>" \ -H "Content-Type: application/json" \ -d '{ "shippingMethodId": "7204558912004325440", "type": "flat", "zoneCode": "LIMA", "price": 10, "basePrice": 10, "currency": "PEN", "isActive": true, "description": "Envío estándar a Lima Metropolitana." }'{ "id": "7204558912004325441"}