This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<customer_advice_request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:demandware.com:bf:api:core:v1"> | |
<instructions> | |
<instruction i:type="customer_advice_instruction_tag"> | |
<id>FRCUST</id> | |
</instruction> | |
</instructions> | |
<key> | |
<guid>customer_guid</guid> | |
</key> | |
</customer_advice_request> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<customer_advice_request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:demandware.com:bf:api:core:v1"> | |
<instructions> | |
<instruction i:type="customer_advice_instruction_suspend"></instruction> | |
</instructions> | |
<key> | |
<guid>customer_guid</guid> | |
</key> | |
</customer_advice_request> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<customer_advice_request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:demandware.com:bf:api:core:v1"> | |
<instructions> | |
<instruction i:type="customer_advice_instruction_alert"> | |
<description>Example Event</description> | |
<source>Location of event source</source> | |
</instruction> | |
</instructions> | |
<key> | |
<guid>customer_guid</guid> | |
</key> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='UTF-8'?> | |
<order_advice_request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:demandware.com:bf:api:core:v1"> | |
<instructions> | |
<instruction i:type="order_advice_instruction_approve"></instruction> | |
</instructions> | |
<key> | |
<guid>order_guid</guid> | |
</key> | |
</order_advice_request> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='UTF-8'?> | |
<order_advice_request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:demandware.com:bf:api:core:v1"> | |
<instructions> | |
<instruction i:type="order_advice_instruction_resume"></instruction> | |
</instructions> | |
<key> | |
<guid>order_guid</guid> | |
</key> | |
</order_advice_request> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='UTF-8'?> | |
<order_advice_request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:demandware.com:bf:api:core:v1"> | |
<instructions> | |
<instruction i:type="order_advice_instruction_transaction"> | |
<transactions> | |
<transaction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:demandware.com:bf:api:core:v1" i:type="order_advice_instruction_transaction_cancel_item"> | |
<key> | |
<id>item_id</id> | |
</key> | |
<reason> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='UTF-8'?> | |
<shipping_order_advice_request xmlns="urn:demandware.com:bf:api:core:v1"> | |
<instructions> | |
<instruction xmlns="urn:demandware.com:bf:api:core:v1" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" i:type="shipping_order_advice_instruction_cancel_item"> | |
<key> | |
<id>item_id</id> | |
</key> | |
<quantity>qty</quantity> | |
<reason>reason</reason> | |
<suppress_order_suspension>false</suppress_order_suspension> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<shipping_order_advice_request xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:demandware.com:bf:api:core:v1"> | |
<instructions> | |
<instruction i:type="shipping_order_advice_instruction_approve" /></instruction> | |
</instructions> | |
<key> | |
<guid>shipping_order_guid</guid> | |
</key> | |
</shipping_order_advice_request> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NameVirtualHost *:80 | |
<VirtualHost *:80> | |
# The ServerName directive sets the request scheme, hostname and port that | |
# the server uses to identify itself. This is used when creating | |
# redirection URLs. In the context of virtual hosts, the ServerName | |
# specifies what hostname must appear in the request's Host: header to | |
# match this virtual host. For the default virtual host (this file) this | |
# value is not decisive as it is used as a last resort host regardless. | |
# However, you must set it for any further virtual host explicitly. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cache = ActiveSupport::Cache::MemoryStore.new(expires_in: 1.minutes) | |
cache.fetch('CLIENT_ID') do | |
client = Savon.client(wsdl: 'http://service.example.com?wsdl') | |
client.body | |
end |