Update a customer
Updates the specified customer.
Request Parameters
Path & Query Parameters
Parameters
Request Body
Body Parameters
Responses
200 Customer updated successfully
Returns a Customer object.
400 undefined
401 undefined
404 undefined
Code Samples
- cURL
- Ruby
- Python
- Node.js
curl https://api.omise.co/customers/:id \
-u skey_test_5xuy4w91xqz7d1w9u0t:
require 'omise'
Omise.api_key = 'skey_test_5xuy4w91xqz7d1w9u0t'
updateCustomer = Omise::Customer.patch
import omise
omise.api_secret = 'skey_test_5xuy4w91xqz7d1w9u0t'
updateCustomer = omise.Customer.patch()
const omise = require('omise')({
secretKey: 'skey_test_5xuy4w91xqz7d1w9u0t'
});
const updateCustomer = await omise.customers.patch();
API認証情報
Try it out
Use the interactive form above to test this endpoint.