---
updatedAt: 2026-11-06T23:00:24.000Z
---

# Create single carrier service (Tienda Nube)

Registers a shipping carrier in the Tienda Nube store so your rates appear at checkout.

Tienda Nube is registered with an EcartAPI callback URL (`ratesUrl` in the response). When the store requests rates, EcartAPI forwards the request to the `url` you send here.

The response contains two identifiers:
- `id` — the EcartAPI carrier id. Use it in `GET`, `PUT` and `DELETE /services/carriers/{carrierId}`.
- `carrierId` — the Tienda Nube carrier id. Use it in the `/services/carriers/{carrierId}/options` endpoints.

Requires your own app; requests made with EcartAPI's default credentials return `403`.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0.0",
    "title": "Tienda Nube"
  },
  "servers": [
    {
      "url": "https://api.ecartapi.com/api/v2"
    }
  ],
  "paths": {
    "/services/carriers": {
      "post": {
        "summary": "Create single carrier service (Tienda Nube)",
        "description": "Registers a shipping carrier in the Tienda Nube store so your rates appear at checkout.\n\nTienda Nube is registered with an EcartAPI callback URL (`ratesUrl` in the response). When the store requests rates, EcartAPI forwards the request to the `url` you send here.\n\nThe response contains two identifiers:\n- `id` — the EcartAPI carrier id. Use it in `GET`, `PUT` and `DELETE /services/carriers/{carrierId}`.\n- `carrierId` — the Tienda Nube carrier id. Use it in the `/services/carriers/{carrierId}/options` endpoints.\n\nRequires your own app; requests made with EcartAPI's default credentials return `403`.",
        "operationId": "create_carrier_services_tiendanube",
        "responses": {
          "200": {
            "description": "Carrier created.",
            "content": {
              "application/json": {
                "example": {
                  "success": true,
                  "carrier": {
                    "id": "6a7a5bfb630276f8cbaf237b",
                    "carrierId": "30273306698",
                    "url": "https://envia.com/rates",
                    "ratesUrl": "https://api.ecartapi.com/api/v2/services/carriers/actions/{reference}",
                    "servicesUrl": null,
                    "name": "Envia.com",
                    "active": true,
                    "token": null,
                    "createdAt": "2026-11-06T18:16:38.000Z"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Authorization": []
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "carrier"
                ],
                "properties": {
                  "carrier": {
                    "type": "object",
                    "required": [
                      "url"
                    ],
                    "properties": {
                      "url": {
                        "type": "string",
                        "format": "uri",
                        "description": "Your rates endpoint. EcartAPI forwards Tienda Nube rate requests to this URL."
                      },
                      "name": {
                        "type": "string",
                        "description": "Carrier name shown to the merchant. Defaults to `ecartapi.com`."
                      },
                      "types": {
                        "type": "string",
                        "description": "Delivery types, as text: `ship`, `pickup`, or `ship,pickup`."
                      },
                      "servicesUrl": {
                        "type": "string",
                        "format": "uri",
                        "description": "Optional endpoint that returns your available services."
                      },
                      "settings": {
                        "type": "object",
                        "properties": {
                          "hideDeliveryDate": {
                            "type": "string",
                            "enum": [
                              "true",
                              "false"
                            ],
                            "description": "Hide the estimated delivery date at checkout."
                          }
                        }
                      }
                    }
                  }
                }
              },
              "example": {
                "carrier": {
                  "name": "Envia.com",
                  "types": "ship,pickup",
                  "url": "https://envia.com/rates"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "Authorization": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "description": "Used to authenticate API requests after completing the store authorization or integration process. The access_token is generated once the e-commerce store grants access and must be included in every request header to validate the authorized connection."
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "security": [
    {
      "Authorization": []
    }
  ]
}
```