PATCH
/
partners
/
merchants
/
{merchant_id}
/
Update Merchant
curl --request PATCH \
  --url https://api-pacb-uat.eximpe.com/partners/merchants/{merchant_id}/ \
  --header 'Content-Type: application/json' \
  --header 'X-Client-ID: <api-key>' \
  --header 'X-Client-Secret: <api-key>' \
  --data '{
  "company_details": {
    "legal_name": "Shakti Logistics & Exports Pvt Ltd",
    "brand_name": "ShaktiXpress",
    "registration_number": "IN09DEL2021PTC987654",
    "international_org_type": "PRIVATE_LIMITED",
    "tax_id": "29AABCT1234D1Z9",
    "website": "https://www.shaktiexpress.in",
    "monthly_avg_transaction_value": "780000.00",
    "monthly_avg_transaction_volume": "120",
    "business_category": "MANUFACTURING",
    "business_mode": "B2B",
    "commodity": "Textile Machinery and Automotive Components",
    "payment_terms": "NET_30",
    "category": "Logistics & Manufacturing Support",
    "description_of_products_and_services": "ShaktiXpress provides export logistics and warehousing services for textile machinery and automotive components across Asia and Europe.",
    "agreement_details": "Master Logistics Agreement valid until 2027-12-31",
    "communication_address": "Plot No. 56, Electronic City Phase 1",
    "communication_city": "Bengaluru",
    "communication_state": "Karnataka",
    "communication_country": "India",
    "communication_pincode": "560100",
    "same_as_registered_address": false,
    "registered_address": "7th Floor, Sagar Tech Plaza, Andheri-Kurla Road",
    "registered_city": "Mumbai",
    "registered_state": "Maharashtra",
    "registered_country": "India",
    "registered_pincode": "400072",
    "purpose_code": "P0101",
    "hs_codes": [
      "85234910",
      "84715000"
    ]
  },
  "settlement_details": {
    "bank_account_number": "5087654321123456",
    "bank_account_name": "Shakti Logistics & Exports Pvt Ltd",
    "bank_swift_code": "HDFCINBBXXX",
    "bank_name": "HDFC Bank Ltd.",
    "bank_branch_name": "Andheri East Branch",
    "bank_address": "Unit 3A, Ground Floor, Hiranandani Business Park, Powai",
    "bank_city": "Mumbai",
    "bank_state": "Maharashtra",
    "bank_country": "India",
    "bank_pincode": "400076",
    "routing_number": "HDFC0000001"
  }
}'
{
  "success": true,
  "message": "Merchant updated successfully",
  "data": {
    "merchant_id": "3604346598",
    "updated_fields": [
      "company_details",
      "settlement_details"
    ]
  }
}

Authorizations

X-Client-ID
string
header
required

Client app ID. You can find your app id in the merchant dashboard.

X-Client-Secret
string
header
required

Client secret key. You can find your secret in the merchant dashboard.

Path Parameters

merchant_id
string
required

The ID of the merchant to update.

Body

application/json

Merchant update request - only include fields to update

Request body for updating merchant - only include fields to update

company_details
object

Company details to update

settlement_details
object

Settlement details to update

Response

Merchant updated successfully.

success
boolean
required

Indicates if the request was successful

message
string
required

Response message

data
object
required

Contains the updated merchant fields