curl --request PUT \
--url https://api.komerza.com/stores/{storeId}/products/{productId}/payment \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"blacklistedPaymentGateways": [
"<string>"
],
"additionalFees": {}
}
'{
"success": true,
"message": "<string>",
"code": "<string>",
"data": "<unknown>"
}Sets a custom fee structure for a product.
Requires the stores.products.update permission.
curl --request PUT \
--url https://api.komerza.com/stores/{storeId}/products/{productId}/payment \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"blacklistedPaymentGateways": [
"<string>"
],
"additionalFees": {}
}
'{
"success": true,
"message": "<string>",
"code": "<string>",
"data": "<unknown>"
}Your API key goes here
The ID of the store.
The ID of the product.
The Komerza.Common.Forms.Products.ProductPaymentForm with fee details.
Form for updating product payment information
The object was successfully updated.
Represents a default generic response for API endpoints.
Indicates whether the operation or response was successful.
A descriptive message providing additional context or information about the response.
The error code (if there was an error) to use when referencing the error
Represents the data associated with a response.
Was this page helpful?