Skip to main content
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-API-Version: <api-key>' \
  --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 Company",
    "tax_id": "29AABCT1234D1Z9",
    "website": "https://www.shaktiexpress.in",
    "monthly_avg_transaction_volume": "120",
    "business_category": "goods_merchant",
    "business_mode": "b2b",
    "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",
    "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 Application ID - Your unique application identifier used to authenticate API requests. You can find your Client ID in the Developer Settings section of the merchant dashboard.

X-Client-Secret
string
header
required

Client Secret Key - Your secret key used alongside the Client ID for secure authentication. Keep this confidential and never expose it in client-side code. Available in the Developer Settings section of the merchant dashboard.

X-API-Version
string
header
required

API Version - Specifies which version of the API to use (e.g., '1.X.X' or '2.X.X'). This header allows you to control which API version your integration uses. Default version information is available in the Developer Settings.

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