Skip to content
Guides
API reference
stablecatalog:read

Get product commission

Returns the commission that applies to a product, resolved from the rules configured for its seller and category.

GET/v1/catalog/products/{productId}/commission

Returns the commission that applies to a product, resolved from the rules configured for its seller and category.

Authorization

bearerAuth
AuthorizationBearer <token>

OAuth2 access token issued by Ecomiq Auth.

In: header

Path Parameters

productId*string

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/v1/catalog/products/string/commission"
{  "source": "seller",  "sellerCommissionId": null,  "productCommissionPercentage": 0.1,  "freightCommissionPercent": null,  "fixedFee": null,  "baseAmount": 0.1,  "productCommissionAmount": 0.1,  "fixedFeeAmount": 0.1,  "estimatedCommissionAmount": 0.1,  "estimatedSellerReceivesAmount": 0.1}