POST v1/paymentMethods/setPaymentMethodSharing?id={id}&saveAll={saveAll}&sharing={sharing}
Documentation for 'SetPaymentMethodSharing'.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
dto | Documentation for 'dto'. |
Define this parameter in the request body. |
id | Documentation for 'id'. |
Define this parameter in the request URI. |
saveAll | Documentation for 'saveAll'. |
Define this parameter in the request URI. |
sharing | Documentation for 'sharing'. |
Define this parameter in the request URI. |
Request body formats
application/json, text/json
Sample:
Click to beautify!
{ "descendantOverrides": [ { "customerId": 1, "sharing": true, "paymentMethodSharingId": 1 }, { "customerId": 1, "sharing": true, "paymentMethodSharingId": 1 }, { "customerId": 1, "sharing": true, "paymentMethodSharingId": 1 } ] }
application/xml, text/xml
Sample:
Click to beautify!
<PaymentMethodSharing xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Post"> <DescendantOverrides> <PaymentMethodSharingDescendant> <CustomerId>1</CustomerId> <PaymentMethodSharingId>1</PaymentMethodSharingId> <Sharing>true</Sharing> </PaymentMethodSharingDescendant> <PaymentMethodSharingDescendant> <CustomerId>1</CustomerId> <PaymentMethodSharingId>1</PaymentMethodSharingId> <Sharing>true</Sharing> </PaymentMethodSharingDescendant> <PaymentMethodSharingDescendant> <CustomerId>1</CustomerId> <PaymentMethodSharingId>1</PaymentMethodSharingId> <Sharing>true</Sharing> </PaymentMethodSharingDescendant> </DescendantOverrides> </PaymentMethodSharing>
application/x-www-form-urlencoded
Sample:
Click to beautify!
Sample not available.
Response Information
Response body formats
application/json, text/json, application/xml, text/xml
Sample:
Click to beautify!
Sample not available.