Komerce Cost API
Shipping cost calculation
Komerce Cost API is one of 7 APIs that Komerce publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Cost. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, authentication docs, and pricing.
This API exposes 4 operations across 4 paths, and defines 6 schemas. It is described by OpenAPI 3.0.3, at version v1.
Requests are made against 2 base URLs: https://api.collaborator.komerce.id/user, https://api-sandbox.collaborator.komerce.id/user.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Komerce Cost API declares
1 security scheme
for authenticating requests.
An API key is passed in the header as x-api-key (ApiKeyAuth).
By default, every request must be authenticated.
ApiKeyAuth— Payment API key from the Collaborator dashboard — the same key used for Komerce Shipping (RajaOngkir). Sandbox keys use the sandbox prefix, production keys the…
Paths & Operations 4
Across 4 paths, the API surfaces 4 operations — 1 GET, 3 POST. Each is listed below with its method, path, parameters, and response codes.
Shipping cost calculation
Schemas 6
The contract defines 6 schemas that model the data the API accepts and returns. The most detailed are CourierCost (6 properties), Meta (3 properties), CalculateResponse (2 properties), InternationalCostList (2 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Komerce 6
Other APIs Komerce publishes across the network.