Stok.ly APICustomersCopy PageCreate a customerpost https://api.stok.ly/v0/customersBody ParamscustomerIdstringThe customer's ID. If omitted, one will be generatedbarcodestringThe barcode to identify this customer. Will be automatically generated if omittedtitlestringenumMrMrsMsMissAllowed:MrMrsMsMissnameobjectdeprecatedThe customer's forename and surnamename objectfullNamestringrequiredThe customer's namebillingAddressobjectbillingAddress objectshippingAddressesarray of objectsA maximum of 5 addresses can be savedshippingAddressesADD objectgenderstringenumMaleFemaleOtherAllowed:MaleFemaleOtherdobdateISO-8601 formatemailAddressesarray of stringsdeprecatedemailAddressesADD stringphoneNumbersarray of stringsdeprecatedphoneNumbersADD stringorganisationstringdeprecatedallowAccountPaymentsbooleantruefalsecreditLimitnumberdebitLimitnumberpaymentTermsintegerHow many days the customer has to pay generated invoicesgroupIdsarray of stringsIf automatic groups are provided, the customer may be automatically removed from the group if they do not match the logicgroupIdsADD stringsecretPhrasestringrequiredcontactsarray of objectsrequiredcontacts*ADD objecttypeintegerenumrequired0: Individual, 1: Organisation01Allowed:01Responses 202Accepted 400The request body or parameters failed validation. 401No, or an invalid, authentication token was provided. 403The authenticated caller is not permitted to perform this action. 429The caller has exceeded a rate limit. 500An unexpected error occurred.Updated 4 months ago Get contacts for a supplierGet all customersDid this page help you?YesNo