[Create customer]

POST {{url}}{{public-prefix}}/customers

Request Body

{"email"=>"{{$randomEmail}}", "first_name"=>"{{$randomFirstName}}", "last_name"=>"{{$randomLastName}}", "external_id"=>"{{$randomUUID}}", "language"=>"ES", "timezone"=>"Buenos Aires", "tax_id"=>"20123123458", "billing_info"=>{"address_line_1"=>"{{$randomStreetAddress}}", "address_line_2"=>"{{$randomStreetAddress}}", "city"=>"City", "state"=>"Buenos Aires", "state_iso_code"=>"AR-B", "zip_code"=>"1112", "phone"=>"{{$randomPhoneNumber}}", "country"=>"ARG"}}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: Created

{"id":"4b214574-8870-49a0-a91e-3e9ac73fd333","external_id":"","email":"test@test.com","language":"ES","timezone":"Buenos Aires","first_name":"Customer","last_name":"Test","billing_info":{"id":"55fcce19-0b77-4c96-ac1c-fff100d86ac2","address_line_1":"Street 123","address_line_2":"","country":"ARG","currency":"ARS","city":"City","state":"Buenos Aires","zip_code":"1112","phone":"111212123"},"tax_id":"20123123458","checkout_link":"https://gateway.increase.app/pay-sandbox/checkout/v1/short_urls/n0EGp2","created_at":"2021-09-29T17:41:12-03:00"}