Add Customer Proxy

This functionality is used for adding a proxy for a specificed customer. It is aimed to be used for a customer who has a legal guardian and who is not allowed to make purchases of his/her own. The proxy will only be allowed to make purchases for that specificed customer and store provided in the request.

The proxy is then later used when making an AddInvoice request.

Note that to use this functionality, an agreement with Collector must be made.

Parameters

Fieldmin OccursnillableMaxTypeDescription
Username1false50stringThe username used to authorize the request.
Password1false50stringThe password used to authorize the request.
CorrelationId1true50stringCorrelationID is sent back in the response.
CountryCode1false4stringThe country code (ISO 3166-1 alpha-2) for the country.
CustomerRegistrationNumber1true50stringThe integration ID can be assigned to customers in order to uniquely identify customers (instead of using Civic reg no). Civic reg. numbers can be used for this but are not mandatory - as long as the value entered is unique. No separators should be used, for example: - , . Only nillable if RegNo is set (usage of RegNo is standard)
ProxyExpiration1true50stringA friendly description of the IntegrationId given. Shown on the invoice as the “buyer” instead of the IntegrationId value if used. Must be used in combination with IntegrationId. No separators should be used, for example: - , .
ProxyFriendlyName1false20stringThe customer's registration number.
ProxyRegistrationNumber1false20stringThe customer's registration number.
StoreId1true4intThe StoreId used for identification of store.

Response

Fieldmin OccursnillableMaxTypeDescription
CorrelationId1true50stringCorrelationID from the request if any.

Example Requests

 Value
Environment:UAT
Service:PaymentService
URL:https://ecommercetest.collector.se/v3.0/PaymentServiceV10.svc?wsdl
Function:AddCustomerProxy
Description:The operation adds proxy details to the specificed customer and merchant
Notes:N/A
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pay="http://schemas.ecommerce.collector.se/v30/PaymentService">
<soapenv:Header>
<pay:Username>USERNAME</pay:Username>
<pay:Password>PASSWORD</pay:Password>
</soapenv:Header>
<soapenv:Body>
<pay:AddCustomerProxyRequest>
<pay:CorrelationId></pay:CorrelationId>
<pay:CountryCode>SE</pay:CountryCode>
<pay:CustomerRegistrationNumber>195001182046</pay:CustomerRegistrationNumber>
<pay:ProxyExpiration>2020-12-30T12:46:00.000+01:00</pay:ProxyExpiration>
<pay:ProxyFriendlyName xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
<pay:ProxyRegistrationNumber>20000229-0393</pay:ProxyRegistrationNumber>
<pay:StoreId>1234</pay:StoreId>
</pay:AddCustomerProxyRequest>
</soapenv:Body>
</soapenv:Envelope>

Error Codes

Please see separate page Error Codes

Fault CodeDescription