Update a Transaction Rule

Update Transaction Rule

PUT https://workspace.myeshopbox.com/payments/v1/transactionRules

Headers

Name
Type
Description

Authorization

string

The Bearer token to grant access to the API

Request Body

Name
Type
Description

channelId

string

Unique Id for sales channel, It is a combination of portal, seller account and fulfillment module

feeId

array

Fee Ids for which transaction rule is created

dueDays

number

Number of days in which payment will be due

settlementType

string

Frequency at which payment is received, Enum: WEEKLY, MONTHLY, DAILY

settlementDates

string

Date of month at which payment is to be done iff settlementType is MONTHLY

settlementWeekdays

string

Day of week at which payment is to done iff settlementType is WEEKLY

transactionRuleId

string

Rule Id for a particular channel

status

boolean

Active or Inactive status of a transaction rule, Reconciliation is not done for Inactive status

ruleName

string

Name for a transaction rule

portalId

number

Unique Id for a portal (Ex. Amazon, Flipkart)

{
    "status": "success"
}
curl -X PUT https://workspace.myeshopbox.com/payments/api/v1/transactionRules \
-H "Content-Type: application/json" \
-H "Authorization: Bearer XXXX" \
-d $'{
    "channelId": "262",
    "feeId": [
        "33"
    ],
    "dueDays": "4",
    "settlementType": "weekly",
    "settlementDates": "2",
    "settlementWeekdays": "Monday,Tuesday",
    "transactionRuleId": "47",
    "status": true,
    "ruleName": "abcd",
    "transactionId": 3
}'

Last updated