The Customer Service has Entities and Operations concerned with Customers and Companies in Norce Commerce.
The Customer Service has Entities and Operations concerned with Customers and Companies in Norce Commerce.
Insert or update company information as well as attach or disconnect customers to the company.
Read more about the method here.
Application identifier. Determines which application company belongs to.
List of customers belonging to company. Customers must exist already in Norce Commerce to be added as a relation to this Company. Any identifier can be used and they are ordered as Id, Code, EmailAddress. The first that is given will be used.
List of delivery methods applicable to company
If false customers that are not provided for this company in request will be deactivated from the relation to this Company. Default is false.
Organization number. Used for company matching if Norce Commerce's internal company id and company code are omitted and SearchOnlyByCode
is false in header.
Use in conjunction with an invoice address to set the delivery address to the same as the invoice address. Both must be active for the import.
curl -i -X POST \ https://customer-slug.api-se.norce.tech/commerce/connect/4.0/Customer/ImportCompanies \ -H 'Content-Type: application/json' \ -H 'X-StormConnect-Header: string' \ -d '[ { "ApplicationKey": "15d62d1f-3a4e-4111-845a-4db40bf08e87", "AdditionalInfo": [ { "Code": "string", "Value": "string" } ], "Code": "string", "Contacts": [ { "Code": "string", "IsActive": true } ], "Customers": [ { "Accounts": [ { "ApplicationKey": "15d62d1f-3a4e-4111-845a-4db40bf08e87", "LoginName": "string", "Password": "string", "Roles": [ {} ], "Status": 0 } ], "AdditionalInfo": [ { "Code": "string", "Value": "string" } ], "ApplicationKey": "15d62d1f-3a4e-4111-845a-4db40bf08e87", "CellPhoneNumber": "string", "Code": "string", "Companies": [ { "Code": "string", "Id": 0, "IsPrimary": true, "Name": "string", "OrganizationNo": "string" } ], "CrmId": "string", "DeliveryAddresses": [ { "AddressLine1": "string", "AddressLine2": "string", "CareOf": "string", "City": "string", "Code": "string", "CountryCode": "string", "Gln": "string", "IsPrimary": true, "IsValidated": true, "Region": "string", "ShippingPhoneNumber": "string", "ZipCode": "string" } ], "EmailAddress": "string", "FirstName": "string", "Flags": [ { "Code": "string", "IsActive": true, "IsCreateOnly": true, "IsLimitedUpdate": true, "StopDate": "string" } ], "Id": 0, "InvoiceAddress": { "AddressLine1": "string", "AddressLine2": "string", "CareOf": "string", "City": "string", "Code": "string", "CountryCode": "string", "Gln": "string", "IsPrimary": true, "IsValidated": true, "Region": "string", "ShippingPhoneNumber": "string", "ZipCode": "string" }, "IsActive": true, "IsCompanyListDelta": true, "LastName": "string", "MiddleName": "string", "PhoneNumber": "string", "PriceLists": [ { "Code": "string", "IsExclusive": true } ], "SocialSecurityNumber": "string", "Title": "string", "Type": 0 } ], "DeliveryAddresses": [ { "AddressLine1": "string", "AddressLine2": "string", "CareOf": "string", "City": "string", "Code": "string", "CountryCode": "string", "Gln": "string", "IsPrimary": true, "IsValidated": true, "Region": "string", "ShippingPhoneNumber": "string", "ZipCode": "string" } ], "DeliveryMethods": [ { "Code": "string", "IsActive": true } ], "Discounts": [ { "DiscountPercentage": 0, "PriceListTypeIdSeed": "string", "Type": "string", "ValueCode": "string" } ], "EmailAddress": "string", "Flags": [ { "Code": "string", "IsActive": true, "IsCreateOnly": true, "IsLimitedUpdate": true, "StopDate": "string" } ], "Id": 0, "InvoiceAddress": { "AddressLine1": "string", "AddressLine2": "string", "CareOf": "string", "City": "string", "Code": "string", "CountryCode": "string", "Gln": "string", "IsPrimary": true, "IsValidated": true, "Region": "string", "ShippingPhoneNumber": "string", "ZipCode": "string" }, "IsActive": true, "IsCustomerListDelta": true, "LogoImage": { "ExternalCode": "string", "FileTypeName": "string", "Url": "http://example.com", "Filename": "string", "LastModified": "string" }, "Name": "string", "OrganizationNo": "string", "ParentCompanyCode": "string", "PaymentMethods": [ { "Code": "string", "InvoiceCaptureSettingsCode": "string", "IsActive": true } ], "PhoneNumber": "string", "PriceLists": [ { "Code": "string", "IsExclusive": true } ], "VatNo": "string", "UseInvoiceAddressAsDeliveryAddress": true } ]'
{ "StatusCode": "string", "Description": "string", "JobId": "string", "ValidationSummary": { "NrOfItemsInTotal": 0, "NrOfValidationFailures": 0, "Messages": [ … ] } }
Insert or update customer information, create accounts on the customer or create, attach or disconnect companies to the customer.
Read more about the method here.
Customer code. Used for customer matching if Norce Commerce's internal customer id is omitted.
List of companies belonging to this customer. Companies must exist already in Norce Commerce to be added as a relation to this Customer. Any identifier can be used and they are ordered as Id, Code, OrganizationNo. The first that is given will be used. If more than one is marked IsPrimary then only the first will be marked as primary.
Customer email address. Used for customer matching if Norce Commerce customer id and code is omitted and SearchOnlyByCode is false in header.
If false companies that are not provided for this customer in request will be deactivated from the relation to this Company. Default is false.
curl -i -X POST \ https://customer-slug.api-se.norce.tech/commerce/connect/4.0/Customer/ImportCustomers \ -H 'Content-Type: application/json' \ -H 'x-stormconnect-header: string' \ -d '[ { "Accounts": [ { "ApplicationKey": "15d62d1f-3a4e-4111-845a-4db40bf08e87", "LoginName": "string", "Password": "string", "Roles": [ { "Code": "string", "IsActive": true } ], "Status": 0 } ], "AdditionalInfo": [ { "Code": "string", "Value": "string" } ], "ApplicationKey": "15d62d1f-3a4e-4111-845a-4db40bf08e87", "CellPhoneNumber": "string", "Code": "string", "Companies": [ { "Code": "string", "Id": 0, "IsPrimary": true, "Name": "string", "OrganizationNo": "string" } ], "CrmId": "string", "DeliveryAddresses": [ { "AddressLine1": "string", "AddressLine2": "string", "CareOf": "string", "City": "string", "Code": "string", "CountryCode": "string", "Gln": "string", "IsPrimary": true, "IsValidated": true, "Region": "string", "ShippingPhoneNumber": "string", "ZipCode": "string" } ], "EmailAddress": "string", "FirstName": "string", "Flags": [ { "Code": "string", "IsActive": true, "IsCreateOnly": true, "IsLimitedUpdate": true, "StopDate": "string" } ], "Id": 0, "InvoiceAddress": { "AddressLine1": "string", "AddressLine2": "string", "CareOf": "string", "City": "string", "Code": "string", "CountryCode": "string", "Gln": "string", "IsPrimary": true, "IsValidated": true, "Region": "string", "ShippingPhoneNumber": "string", "ZipCode": "string" }, "IsActive": true, "IsCompanyListDelta": true, "LastName": "string", "MiddleName": "string", "PhoneNumber": "string", "PriceLists": [ { "Code": "string", "IsExclusive": true } ], "SocialSecurityNumber": "string", "Title": "string", "Type": 0 } ]'
{ "StatusCode": "string", "Description": "string", "JobId": "string", "ValidationSummary": { "NrOfItemsInTotal": 0, "NrOfValidationFailures": 0, "Messages": [ … ] } }