CatalogProducts
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}/commissionReturns 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
Identifier of the product.
Header Parameters
x-Store-Id?string
Store the request acts on. Not needed when the token is bound to a store.
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/7204558912004325301/commission" \ -H "x-Store-Id: <store-id>" \ -H "Authorization: Bearer <token>"{ "source": "seller", "productCommissionPercentage": 1, "baseAmount": 1, "productCommissionAmount": 1, "fixedFeeAmount": 1, "estimatedCommissionAmount": 1, "estimatedSellerReceivesAmount": 1, "sellerCommissionId": "7204558912004325301"}