channeladvisor 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +7 -0
- data/.rspec +2 -0
- data/.travis.yml +6 -0
- data/.yardopts +8 -0
- data/Gemfile +31 -0
- data/Guardfile +28 -0
- data/LICENSE +19 -0
- data/README.md +40 -0
- data/Rakefile +69 -0
- data/channeladvisor.gemspec +29 -0
- data/lib/channeladvisor.rb +27 -0
- data/lib/channeladvisor/account_authorization.rb +14 -0
- data/lib/channeladvisor/address.rb +39 -0
- data/lib/channeladvisor/admin.rb +75 -0
- data/lib/channeladvisor/base.rb +34 -0
- data/lib/channeladvisor/client.rb +3 -0
- data/lib/channeladvisor/configuration.rb +11 -0
- data/lib/channeladvisor/error.rb +30 -0
- data/lib/channeladvisor/line_item.rb +38 -0
- data/lib/channeladvisor/order.rb +179 -0
- data/lib/channeladvisor/order_status.rb +14 -0
- data/lib/channeladvisor/payment.rb +15 -0
- data/lib/channeladvisor/services.rb +11 -0
- data/lib/channeladvisor/services/admin_service.rb +47 -0
- data/lib/channeladvisor/services/base_service.rb +26 -0
- data/lib/channeladvisor/services/inventory_service.rb +90 -0
- data/lib/channeladvisor/services/order_service.rb +117 -0
- data/lib/channeladvisor/services/shipping_service.rb +164 -0
- data/lib/channeladvisor/shipment.rb +71 -0
- data/lib/channeladvisor/shopping_cart.rb +26 -0
- data/lib/channeladvisor/version.rb +3 -0
- data/spec/fixtures/requests/admin_service/get_authorization_list.xml +1 -0
- data/spec/fixtures/requests/admin_service/get_authorization_list_with_local_id.xml +1 -0
- data/spec/fixtures/requests/admin_service/ping.xml +1 -0
- data/spec/fixtures/requests/admin_service/request_access.xml +1 -0
- data/spec/fixtures/requests/inventory_service/ping.xml +1 -0
- data/spec/fixtures/requests/inventory_service/update_inventory_item_quantity_and_price_list/with_one_item/price_only.xml +1 -0
- data/spec/fixtures/requests/inventory_service/update_inventory_item_quantity_and_price_list/with_one_item/quantity_and_price.xml +1 -0
- data/spec/fixtures/requests/inventory_service/update_inventory_item_quantity_and_price_list/with_one_item/quantity_only.xml +1 -0
- data/spec/fixtures/requests/inventory_service/update_inventory_item_quantity_and_price_list/with_two_items/price_only.xml +1 -0
- data/spec/fixtures/requests/inventory_service/update_inventory_item_quantity_and_price_list/with_two_items/quantity_and_price.xml +1 -0
- data/spec/fixtures/requests/inventory_service/update_inventory_item_quantity_and_price_list/with_two_items/quantity_only.xml +1 -0
- data/spec/fixtures/requests/inventory_service/update_item_price.xml +1 -0
- data/spec/fixtures/requests/inventory_service/update_item_quantity.xml +1 -0
- data/spec/fixtures/requests/inventory_service/update_item_quantity_and_price.xml +1 -0
- data/spec/fixtures/requests/order_service/get_order_list/with_checkout_status_filter.xml +1 -0
- data/spec/fixtures/requests/order_service/get_order_list/with_created_from_date.xml +1 -0
- data/spec/fixtures/requests/order_service/get_order_list/with_created_to_date.xml +1 -0
- data/spec/fixtures/requests/order_service/get_order_list/with_detail_level.xml +1 -0
- data/spec/fixtures/requests/order_service/get_order_list/with_distribution_center_code.xml +1 -0
- data/spec/fixtures/requests/order_service/get_order_list/with_export_state.xml +1 -0
- data/spec/fixtures/requests/order_service/get_order_list/with_join_dates.xml +1 -0
- data/spec/fixtures/requests/order_service/get_order_list/with_one_client_order_id.xml +1 -0
- data/spec/fixtures/requests/order_service/get_order_list/with_one_order_id.xml +1 -0
- data/spec/fixtures/requests/order_service/get_order_list/with_order_state_filter.xml +1 -0
- data/spec/fixtures/requests/order_service/get_order_list/with_page_number_filter.xml +1 -0
- data/spec/fixtures/requests/order_service/get_order_list/with_page_size.xml +1 -0
- data/spec/fixtures/requests/order_service/get_order_list/with_payment_status_filter.xml +1 -0
- data/spec/fixtures/requests/order_service/get_order_list/with_refund_status_filter.xml +1 -0
- data/spec/fixtures/requests/order_service/get_order_list/with_shipping_status_filter.xml +1 -0
- data/spec/fixtures/requests/order_service/get_order_list/with_two_client_order_ids.xml +1 -0
- data/spec/fixtures/requests/order_service/get_order_list/with_two_order_ids.xml +1 -0
- data/spec/fixtures/requests/order_service/get_order_list/with_updated_from_date.xml +1 -0
- data/spec/fixtures/requests/order_service/get_order_list/with_updated_to_date.xml +1 -0
- data/spec/fixtures/requests/order_service/get_order_list/without_order_criteria.xml +1 -0
- data/spec/fixtures/requests/order_service/ping.xml +1 -0
- data/spec/fixtures/requests/order_service/set_orders_export_status/with_one_client_order_id.xml +1 -0
- data/spec/fixtures/requests/order_service/set_orders_export_status/with_two_client_order_ids.xml +1 -0
- data/spec/fixtures/requests/shipping_service/get_shipping_carrier_list.xml +1 -0
- data/spec/fixtures/requests/shipping_service/ping.xml +1 -0
- data/spec/fixtures/requests/shipping_service/submit_order_shipment_list/full_shipment/with_one_shipment.xml +1 -0
- data/spec/fixtures/requests/shipping_service/submit_order_shipment_list/full_shipment/with_two_shipments.xml +1 -0
- data/spec/fixtures/requests/shipping_service/submit_order_shipment_list/full_shipment/without_carrier_code.xml +1 -0
- data/spec/fixtures/requests/shipping_service/submit_order_shipment_list/full_shipment/without_class_code.xml +1 -0
- data/spec/fixtures/requests/shipping_service/submit_order_shipment_list/full_shipment/without_client_order_id.xml +1 -0
- data/spec/fixtures/requests/shipping_service/submit_order_shipment_list/full_shipment/without_seller_id.xml +1 -0
- data/spec/fixtures/requests/shipping_service/submit_order_shipment_list/full_shipment/without_tracking_number.xml +1 -0
- data/spec/fixtures/requests/shipping_service/submit_order_shipment_list/partial_shipment/with_one_line_item.xml +1 -0
- data/spec/fixtures/requests/shipping_service/submit_order_shipment_list/partial_shipment/with_two_line_items.xml +1 -0
- data/spec/fixtures/requests/shipping_service/submit_order_shipment_list/partial_shipment/with_two_shipments.xml +1 -0
- data/spec/fixtures/requests/shipping_service/submit_order_shipment_list/partial_shipment/without_carrier_code.xml +1 -0
- data/spec/fixtures/requests/shipping_service/submit_order_shipment_list/partial_shipment/without_class_code.xml +1 -0
- data/spec/fixtures/requests/shipping_service/submit_order_shipment_list/partial_shipment/without_seller_id.xml +1 -0
- data/spec/fixtures/requests/shipping_service/submit_order_shipment_list/partial_shipment/without_tracking_number.xml +1 -0
- data/spec/fixtures/requests/shipping_service/submit_order_shipment_list/with_partial_and_full_shipments.xml +1 -0
- data/spec/fixtures/responses/admin/get_authorization_list/failure.yml +50 -0
- data/spec/fixtures/responses/admin/get_authorization_list/no_authorizations.yml +49 -0
- data/spec/fixtures/responses/admin/get_authorization_list/one_authorization.yml +49 -0
- data/spec/fixtures/responses/admin/get_authorization_list/success.yml +49 -0
- data/spec/fixtures/responses/admin/get_authorization_list/two_authorizations.yml +49 -0
- data/spec/fixtures/responses/admin/ping/failure.yml +50 -0
- data/spec/fixtures/responses/admin/ping/success.yml +218 -0
- data/spec/fixtures/responses/admin/request_access/failure.yml +50 -0
- data/spec/fixtures/responses/admin/request_access/success.yml +49 -0
- data/spec/fixtures/responses/admin_service/get_authorization_list/with_invalid_local_id.yml +219 -0
- data/spec/fixtures/responses/admin_service/get_authorization_list/with_local_id/success.yml +218 -0
- data/spec/fixtures/responses/admin_service/get_authorization_list/with_valid_local_id/multiple_authorizations.yml +49 -0
- data/spec/fixtures/responses/admin_service/get_authorization_list/with_valid_local_id/no_authorizations.yml +49 -0
- data/spec/fixtures/responses/admin_service/get_authorization_list/with_valid_local_id/one_authorization.yml +49 -0
- data/spec/fixtures/responses/admin_service/get_authorization_list/with_valid_local_id/success.yml +218 -0
- data/spec/fixtures/responses/admin_service/get_authorization_list/without_local_id/multiple_authorizations.yml +49 -0
- data/spec/fixtures/responses/admin_service/get_authorization_list/without_local_id/no_authorizations.yml +49 -0
- data/spec/fixtures/responses/admin_service/get_authorization_list/without_local_id/one_authorization.yml +49 -0
- data/spec/fixtures/responses/admin_service/get_authorization_list/without_local_id/success.yml +218 -0
- data/spec/fixtures/responses/admin_service/ping/failure.yml +222 -0
- data/spec/fixtures/responses/admin_service/ping/success.yml +218 -0
- data/spec/fixtures/responses/admin_service/request_access/failure.yml +219 -0
- data/spec/fixtures/responses/admin_service/request_access/success.yml +218 -0
- data/spec/fixtures/responses/http_error.yml +48 -0
- data/spec/fixtures/responses/inventory_service/ping.yml +1356 -0
- data/spec/fixtures/responses/inventory_service/update_inventory_item_quantity_and_price.yml +1356 -0
- data/spec/fixtures/responses/inventory_service/update_inventory_item_quantity_and_price/price_only.yml +144 -0
- data/spec/fixtures/responses/inventory_service/update_inventory_item_quantity_and_price/quantity_and_price.yml +191 -0
- data/spec/fixtures/responses/inventory_service/update_inventory_item_quantity_and_price/quantity_only.yml +1403 -0
- data/spec/fixtures/responses/inventory_service/update_inventory_item_quantity_and_price_list.yml +243 -0
- data/spec/fixtures/responses/inventory_service/update_inventory_item_quantity_and_price_list/with_one_item/price_only.yml +97 -0
- data/spec/fixtures/responses/inventory_service/update_inventory_item_quantity_and_price_list/with_one_item/quantity_and_price.yml +144 -0
- data/spec/fixtures/responses/inventory_service/update_inventory_item_quantity_and_price_list/with_one_item/quantity_only.yml +51 -0
- data/spec/fixtures/responses/inventory_service/update_inventory_item_quantity_and_price_list/with_two_items/price_only.yml +238 -0
- data/spec/fixtures/responses/inventory_service/update_inventory_item_quantity_and_price_list/with_two_items/quantity_and_price.yml +285 -0
- data/spec/fixtures/responses/inventory_service/update_inventory_item_quantity_and_price_list/with_two_items/quantity_only.yml +191 -0
- data/spec/fixtures/responses/order/instance_set_export_status.yml +51 -0
- data/spec/fixtures/responses/order/instance_set_export_status/failure.yml +51 -0
- data/spec/fixtures/responses/order/instance_set_export_status/success/result_false.yml +51 -0
- data/spec/fixtures/responses/order/instance_set_export_status/success/result_true.yml +51 -0
- data/spec/fixtures/responses/order/list.yml +58 -0
- data/spec/fixtures/responses/order/list/failure.yml +56 -0
- data/spec/fixtures/responses/order/list/no_matching_orders.yml +56 -0
- data/spec/fixtures/responses/order/list/one_matching_order.yml +57 -0
- data/spec/fixtures/responses/order/list/two_matching_orders.yml +59 -0
- data/spec/fixtures/responses/order/list/with_criteria.yml +52 -0
- data/spec/fixtures/responses/order/list/with_no_criteria.yml +58 -0
- data/spec/fixtures/responses/order/ping.yml +868 -0
- data/spec/fixtures/responses/order/ping/failure.yml +50 -0
- data/spec/fixtures/responses/order/ping/success.yml +867 -0
- data/spec/fixtures/responses/order/set_export_status/failure.yml +51 -0
- data/spec/fixtures/responses/order/set_export_status/success/with_one_client_order_id.yml +51 -0
- data/spec/fixtures/responses/order/set_export_status/success/with_two_client_order_ids.yml +51 -0
- data/spec/fixtures/responses/order_service/get_order_list/.gitkeep +0 -0
- data/spec/fixtures/responses/order_service/get_order_list/with_checkout_status_filter.yml +875 -0
- data/spec/fixtures/responses/order_service/get_order_list/with_created_from_date.yml +874 -0
- data/spec/fixtures/responses/order_service/get_order_list/with_created_to_date.yml +874 -0
- data/spec/fixtures/responses/order_service/get_order_list/with_detail_level.yml +875 -0
- data/spec/fixtures/responses/order_service/get_order_list/with_distribution_center_code.yml +872 -0
- data/spec/fixtures/responses/order_service/get_order_list/with_export_state.yml +875 -0
- data/spec/fixtures/responses/order_service/get_order_list/with_join_dates.yml +869 -0
- data/spec/fixtures/responses/order_service/get_order_list/with_one_client_order_id.yml +872 -0
- data/spec/fixtures/responses/order_service/get_order_list/with_one_order_id.yml +873 -0
- data/spec/fixtures/responses/order_service/get_order_list/with_order_state_filter.yml +875 -0
- data/spec/fixtures/responses/order_service/get_order_list/with_page_number_filter.yml +875 -0
- data/spec/fixtures/responses/order_service/get_order_list/with_page_size.yml +874 -0
- data/spec/fixtures/responses/order_service/get_order_list/with_payment_status_filter.yml +875 -0
- data/spec/fixtures/responses/order_service/get_order_list/with_refund_status_filter.yml +875 -0
- data/spec/fixtures/responses/order_service/get_order_list/with_shipping_status_filter.yml +875 -0
- data/spec/fixtures/responses/order_service/get_order_list/with_two_client_order_ids.yml +872 -0
- data/spec/fixtures/responses/order_service/get_order_list/with_two_order_ids.yml +875 -0
- data/spec/fixtures/responses/order_service/get_order_list/with_updated_from_date.yml +874 -0
- data/spec/fixtures/responses/order_service/get_order_list/with_updated_to_date.yml +874 -0
- data/spec/fixtures/responses/order_service/get_order_list/without_order_criteria.yml +871 -0
- data/spec/fixtures/responses/order_service/get_order_refund_history/.gitkeep +0 -0
- data/spec/fixtures/responses/order_service/order_merge/.gitkeep +0 -0
- data/spec/fixtures/responses/order_service/order_split/.gitkeep +0 -0
- data/spec/fixtures/responses/order_service/ping/.gitkeep +0 -0
- data/spec/fixtures/responses/order_service/ping/failure.yml +871 -0
- data/spec/fixtures/responses/order_service/ping/success.yml +868 -0
- data/spec/fixtures/responses/order_service/set_orders_export_status/with_one_client_order_id.yml +867 -0
- data/spec/fixtures/responses/order_service/set_orders_export_status/with_two_client_order_id.yml +867 -0
- data/spec/fixtures/responses/order_service/set_seller_order_id/.gitkeep +0 -0
- data/spec/fixtures/responses/order_service/set_seller_order_item_id_list/.gitkeep +0 -0
- data/spec/fixtures/responses/order_service/submit_order/.gitkeep +0 -0
- data/spec/fixtures/responses/order_service/submit_order_refund/.gitkeep +0 -0
- data/spec/fixtures/responses/order_service/update_order_list/.gitkeep +0 -0
- data/spec/fixtures/responses/shipment/get_carriers.yml +53 -0
- data/spec/fixtures/responses/shipment/get_carriers/failure.yml +52 -0
- data/spec/fixtures/responses/shipment/submit.yml +464 -0
- data/spec/fixtures/responses/shipment/submit/failure.yml +462 -0
- data/spec/fixtures/responses/shipment/submit/one_shipment.yml +464 -0
- data/spec/fixtures/responses/shipment/submit/two_shipments.yml +56 -0
- data/spec/fixtures/responses/shipping_service/get_shipping_carrier_list.yml +953 -0
- data/spec/fixtures/responses/shipping_service/ping/failure.yml +55 -0
- data/spec/fixtures/responses/shipping_service/ping/success.yml +460 -0
- data/spec/fixtures/responses/shipping_service/submit_order_shipment_list.yml +55 -0
- data/spec/fixtures/responses/soap_fault.yml +53 -0
- data/spec/lib/channeladvisor/address_spec.rb +107 -0
- data/spec/lib/channeladvisor/admin_spec.rb +216 -0
- data/spec/lib/channeladvisor/line_item_spec.rb +147 -0
- data/spec/lib/channeladvisor/order_spec.rb +623 -0
- data/spec/lib/channeladvisor/order_status_spec.rb +36 -0
- data/spec/lib/channeladvisor/payment_spec.rb +38 -0
- data/spec/lib/channeladvisor/services/admin_service_spec.rb +65 -0
- data/spec/lib/channeladvisor/services/base_service_spec.rb +11 -0
- data/spec/lib/channeladvisor/services/inventory_service_spec.rb +214 -0
- data/spec/lib/channeladvisor/services/order_service_spec.rb +267 -0
- data/spec/lib/channeladvisor/services/shipping_service_spec.rb +288 -0
- data/spec/lib/channeladvisor/shipment_spec.rb +257 -0
- data/spec/lib/channeladvisor/shopping_cart_spec.rb +173 -0
- data/spec/lib/channeladvisor_spec.rb +18 -0
- data/spec/spec_helper.rb +29 -0
- data/spec/support/credentials.rb +15 -0
- data/spec/support/matchers/boolean.rb +17 -0
- data/spec/support/matchers/markup.rb +50 -0
- data/spec/support/rr.rb +38 -0
- data/spec/support/shared_examples.rb +4 -0
- data/spec/support/vcr.rb +38 -0
- metadata +501 -0
@@ -0,0 +1,51 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.channeladvisor.com/ChannelAdvisorAPI/v6/InventoryService.asmx
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
9
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://api.channeladvisor.com/webservices/"
|
10
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="http://api.channeladvisor.com/webservices/"><env:Header><ins0:APICredentials><ins0:DeveloperKey>$$DEVELOPER_KEY$$</ins0:DeveloperKey><ins0:Password>$$PASSWORD$$</ins0:Password></ins0:APICredentials></env:Header><env:Body><ins0:UpdateInventoryItemQuantityAndPriceList></ins0:UpdateInventoryItemQuantityAndPriceList></env:Body></env:Envelope>
|
11
|
+
headers:
|
12
|
+
soapaction:
|
13
|
+
- ! '"http://api.channeladvisor.com/webservices/UpdateInventoryItemQuantityAndPriceList"'
|
14
|
+
content-type:
|
15
|
+
- text/xml;charset=UTF-8
|
16
|
+
content-length:
|
17
|
+
- '628'
|
18
|
+
accept:
|
19
|
+
- ! '*/*'
|
20
|
+
user-agent:
|
21
|
+
- Ruby
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 200
|
25
|
+
message: OK
|
26
|
+
headers:
|
27
|
+
date:
|
28
|
+
- Fri, 15 Jun 2012 05:58:39 GMT
|
29
|
+
server:
|
30
|
+
- Microsoft-IIS/6.0
|
31
|
+
x-servername:
|
32
|
+
- RDU-IISWEB-08
|
33
|
+
x-powered-by:
|
34
|
+
- ASP.NET
|
35
|
+
x-aspnet-version:
|
36
|
+
- 4.0.30319
|
37
|
+
cache-control:
|
38
|
+
- private, max-age=0
|
39
|
+
content-type:
|
40
|
+
- text/xml; charset=utf-8
|
41
|
+
content-length:
|
42
|
+
- '586'
|
43
|
+
body:
|
44
|
+
encoding: US-ASCII
|
45
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
46
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><UpdateInventoryItemQuantityAndPriceListResponse
|
47
|
+
xmlns="http://api.channeladvisor.com/webservices/"><UpdateInventoryItemQuantityAndPriceListResult><Status>Failure</Status><MessageCode>1</MessageCode><Message>No
|
48
|
+
Items were specified!</Message></UpdateInventoryItemQuantityAndPriceListResult></UpdateInventoryItemQuantityAndPriceListResponse></soap:Body></soap:Envelope>
|
49
|
+
http_version: '1.1'
|
50
|
+
recorded_at: Fri, 15 Jun 2012 05:58:40 GMT
|
51
|
+
recorded_with: VCR 2.2.0
|
@@ -0,0 +1,238 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.channeladvisor.com/ChannelAdvisorAPI/v6/InventoryService.asmx
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
9
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://api.channeladvisor.com/webservices/"
|
10
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="http://api.channeladvisor.com/webservices/"><env:Header><ins0:APICredentials><ins0:DeveloperKey>$$DEVELOPER_KEY$$</ins0:DeveloperKey><ins0:Password>$$PASSWORD$$</ins0:Password></ins0:APICredentials></env:Header><env:Body><ins0:UpdateInventoryItemQuantityAndPriceList><ins0:accountID>$$ACCOUNT_ID$$</ins0:accountID><ins0:itemQuantityAndPriceList><ins0:InventoryItemQuantityAndPrice><ins0:Sku>FAKE001</ins0:Sku><ins0:PriceInfo><ins0:Cost>2.99</ins0:Cost><ins0:RetailPrice>11.99</ins0:RetailPrice><ins0:StartingPrice>5.99</ins0:StartingPrice><ins0:ReservePrice>7.99</ins0:ReservePrice><ins0:TakeItPrice>9.99</ins0:TakeItPrice><ins0:SecondChanceOfferPrice>8.99</ins0:SecondChanceOfferPrice><ins0:StorePrice>9.49</ins0:StorePrice></ins0:PriceInfo></ins0:InventoryItemQuantityAndPrice><ins0:InventoryItemQuantityAndPrice><ins0:Sku>FAKE002</ins0:Sku><ins0:PriceInfo><ins0:Cost>3.99</ins0:Cost><ins0:RetailPrice>10.99</ins0:RetailPrice><ins0:StartingPrice>4.99</ins0:StartingPrice><ins0:ReservePrice>7.99</ins0:ReservePrice><ins0:TakeItPrice>8.99</ins0:TakeItPrice><ins0:SecondChanceOfferPrice>6.99</ins0:SecondChanceOfferPrice><ins0:StorePrice>8.49</ins0:StorePrice></ins0:PriceInfo></ins0:InventoryItemQuantityAndPrice></ins0:itemQuantityAndPriceList></ins0:UpdateInventoryItemQuantityAndPriceList></env:Body></env:Envelope>
|
11
|
+
headers:
|
12
|
+
soapaction:
|
13
|
+
- ! '"http://api.channeladvisor.com/webservices/UpdateInventoryItemQuantityAndPriceList"'
|
14
|
+
content-type:
|
15
|
+
- text/xml;charset=UTF-8
|
16
|
+
content-length:
|
17
|
+
- '1628'
|
18
|
+
accept:
|
19
|
+
- ! '*/*'
|
20
|
+
user-agent:
|
21
|
+
- Ruby
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 200
|
25
|
+
message: OK
|
26
|
+
headers:
|
27
|
+
date:
|
28
|
+
- Fri, 15 Jun 2012 22:13:51 GMT
|
29
|
+
server:
|
30
|
+
- Microsoft-IIS/6.0
|
31
|
+
x-servername:
|
32
|
+
- RDU-IISWEB-11
|
33
|
+
x-powered-by:
|
34
|
+
- ASP.NET
|
35
|
+
x-aspnet-version:
|
36
|
+
- 4.0.30319
|
37
|
+
cache-control:
|
38
|
+
- private, max-age=0
|
39
|
+
content-type:
|
40
|
+
- text/xml; charset=utf-8
|
41
|
+
content-length:
|
42
|
+
- '764'
|
43
|
+
body:
|
44
|
+
encoding: US-ASCII
|
45
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
46
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><UpdateInventoryItemQuantityAndPriceListResponse
|
47
|
+
xmlns="http://api.channeladvisor.com/webservices/"><UpdateInventoryItemQuantityAndPriceListResult><Status>Success</Status><MessageCode>0</MessageCode><ResultData><UpdateInventoryItemResponse><Sku>FAKE001</Sku><Result>true</Result></UpdateInventoryItemResponse><UpdateInventoryItemResponse><Sku>FAKE002</Sku><Result>true</Result></UpdateInventoryItemResponse></ResultData></UpdateInventoryItemQuantityAndPriceListResult></UpdateInventoryItemQuantityAndPriceListResponse></soap:Body></soap:Envelope>
|
48
|
+
http_version: '1.1'
|
49
|
+
recorded_at: Fri, 15 Jun 2012 22:13:51 GMT
|
50
|
+
- request:
|
51
|
+
method: post
|
52
|
+
uri: https://api.channeladvisor.com/ChannelAdvisorAPI/v6/InventoryService.asmx
|
53
|
+
body:
|
54
|
+
encoding: US-ASCII
|
55
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
56
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://api.channeladvisor.com/webservices/"
|
57
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="http://api.channeladvisor.com/webservices/"><env:Header><ins0:APICredentials><ins0:DeveloperKey>$$DEVELOPER_KEY$$</ins0:DeveloperKey><ins0:Password>$$PASSWORD$$</ins0:Password></ins0:APICredentials></env:Header><env:Body><ins0:UpdateInventoryItemQuantityAndPriceList><ins0:accountID>$$ACCOUNT_ID$$</ins0:accountID><ins0:itemQuantityAndPriceList><ins0:InventoryItemQuantityAndPrice><ins0:Sku>FAKE001</ins0:Sku><ins0:PriceInfo><ins0:Cost>2.99</ins0:Cost><ins0:RetailPrice>11.99</ins0:RetailPrice><ins0:StartingPrice>5.99</ins0:StartingPrice><ins0:ReservePrice>7.99</ins0:ReservePrice><ins0:TakeItPrice>9.99</ins0:TakeItPrice><ins0:SecondChanceOfferPrice>8.99</ins0:SecondChanceOfferPrice><ins0:StorePrice>9.49</ins0:StorePrice></ins0:PriceInfo></ins0:InventoryItemQuantityAndPrice><ins0:InventoryItemQuantityAndPrice><ins0:Sku>FAKE002</ins0:Sku><ins0:PriceInfo><ins0:Cost>3.99</ins0:Cost><ins0:RetailPrice>10.99</ins0:RetailPrice><ins0:StartingPrice>4.99</ins0:StartingPrice><ins0:ReservePrice>7.99</ins0:ReservePrice><ins0:TakeItPrice>8.99</ins0:TakeItPrice><ins0:SecondChanceOfferPrice>6.99</ins0:SecondChanceOfferPrice><ins0:StorePrice>8.49</ins0:StorePrice></ins0:PriceInfo></ins0:InventoryItemQuantityAndPrice></ins0:itemQuantityAndPriceList></ins0:UpdateInventoryItemQuantityAndPriceList></env:Body></env:Envelope>
|
58
|
+
headers:
|
59
|
+
soapaction:
|
60
|
+
- ! '"http://api.channeladvisor.com/webservices/UpdateInventoryItemQuantityAndPriceList"'
|
61
|
+
content-type:
|
62
|
+
- text/xml;charset=UTF-8
|
63
|
+
content-length:
|
64
|
+
- '1628'
|
65
|
+
accept:
|
66
|
+
- ! '*/*'
|
67
|
+
user-agent:
|
68
|
+
- Ruby
|
69
|
+
response:
|
70
|
+
status:
|
71
|
+
code: 200
|
72
|
+
message: OK
|
73
|
+
headers:
|
74
|
+
date:
|
75
|
+
- Fri, 15 Jun 2012 22:13:53 GMT
|
76
|
+
server:
|
77
|
+
- Microsoft-IIS/6.0
|
78
|
+
x-servername:
|
79
|
+
- RDU-IISWEB-06
|
80
|
+
x-powered-by:
|
81
|
+
- ASP.NET
|
82
|
+
x-aspnet-version:
|
83
|
+
- 4.0.30319
|
84
|
+
cache-control:
|
85
|
+
- private, max-age=0
|
86
|
+
content-type:
|
87
|
+
- text/xml; charset=utf-8
|
88
|
+
content-length:
|
89
|
+
- '764'
|
90
|
+
body:
|
91
|
+
encoding: US-ASCII
|
92
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
93
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><UpdateInventoryItemQuantityAndPriceListResponse
|
94
|
+
xmlns="http://api.channeladvisor.com/webservices/"><UpdateInventoryItemQuantityAndPriceListResult><Status>Success</Status><MessageCode>0</MessageCode><ResultData><UpdateInventoryItemResponse><Sku>FAKE001</Sku><Result>true</Result></UpdateInventoryItemResponse><UpdateInventoryItemResponse><Sku>FAKE002</Sku><Result>true</Result></UpdateInventoryItemResponse></ResultData></UpdateInventoryItemQuantityAndPriceListResult></UpdateInventoryItemQuantityAndPriceListResponse></soap:Body></soap:Envelope>
|
95
|
+
http_version: '1.1'
|
96
|
+
recorded_at: Fri, 15 Jun 2012 22:13:54 GMT
|
97
|
+
- request:
|
98
|
+
method: post
|
99
|
+
uri: https://api.channeladvisor.com/ChannelAdvisorAPI/v6/InventoryService.asmx
|
100
|
+
body:
|
101
|
+
encoding: US-ASCII
|
102
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
103
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://api.channeladvisor.com/webservices/"
|
104
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="http://api.channeladvisor.com/webservices/"><env:Header><ins0:APICredentials><ins0:DeveloperKey>$$DEVELOPER_KEY$$</ins0:DeveloperKey><ins0:Password>$$PASSWORD$$</ins0:Password></ins0:APICredentials></env:Header><env:Body><ins0:UpdateInventoryItemQuantityAndPriceList><ins0:accountID>$$ACCOUNT_ID$$</ins0:accountID><ins0:itemQuantityAndPriceList><ins0:InventoryItemQuantityAndPrice><ins0:Sku>FAKE001</ins0:Sku><ins0:PriceInfo><ins0:Cost>2.99</ins0:Cost><ins0:RetailPrice>11.99</ins0:RetailPrice><ins0:StartingPrice>5.99</ins0:StartingPrice><ins0:ReservePrice>7.99</ins0:ReservePrice><ins0:TakeItPrice>9.99</ins0:TakeItPrice><ins0:SecondChanceOfferPrice>8.99</ins0:SecondChanceOfferPrice><ins0:StorePrice>9.49</ins0:StorePrice></ins0:PriceInfo></ins0:InventoryItemQuantityAndPrice><ins0:InventoryItemQuantityAndPrice><ins0:Sku>FAKE002</ins0:Sku><ins0:PriceInfo><ins0:Cost>3.99</ins0:Cost><ins0:RetailPrice>10.99</ins0:RetailPrice><ins0:StartingPrice>4.99</ins0:StartingPrice><ins0:ReservePrice>7.99</ins0:ReservePrice><ins0:TakeItPrice>8.99</ins0:TakeItPrice><ins0:SecondChanceOfferPrice>6.99</ins0:SecondChanceOfferPrice><ins0:StorePrice>8.49</ins0:StorePrice></ins0:PriceInfo></ins0:InventoryItemQuantityAndPrice></ins0:itemQuantityAndPriceList></ins0:UpdateInventoryItemQuantityAndPriceList></env:Body></env:Envelope>
|
105
|
+
headers:
|
106
|
+
soapaction:
|
107
|
+
- ! '"http://api.channeladvisor.com/webservices/UpdateInventoryItemQuantityAndPriceList"'
|
108
|
+
content-type:
|
109
|
+
- text/xml;charset=UTF-8
|
110
|
+
content-length:
|
111
|
+
- '1628'
|
112
|
+
accept:
|
113
|
+
- ! '*/*'
|
114
|
+
user-agent:
|
115
|
+
- Ruby
|
116
|
+
response:
|
117
|
+
status:
|
118
|
+
code: 200
|
119
|
+
message: OK
|
120
|
+
headers:
|
121
|
+
date:
|
122
|
+
- Fri, 15 Jun 2012 22:13:57 GMT
|
123
|
+
server:
|
124
|
+
- Microsoft-IIS/6.0
|
125
|
+
x-servername:
|
126
|
+
- RDU-IISWEB-05
|
127
|
+
x-powered-by:
|
128
|
+
- ASP.NET
|
129
|
+
x-aspnet-version:
|
130
|
+
- 4.0.30319
|
131
|
+
cache-control:
|
132
|
+
- private, max-age=0
|
133
|
+
content-type:
|
134
|
+
- text/xml; charset=utf-8
|
135
|
+
content-length:
|
136
|
+
- '764'
|
137
|
+
body:
|
138
|
+
encoding: US-ASCII
|
139
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
140
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><UpdateInventoryItemQuantityAndPriceListResponse
|
141
|
+
xmlns="http://api.channeladvisor.com/webservices/"><UpdateInventoryItemQuantityAndPriceListResult><Status>Success</Status><MessageCode>0</MessageCode><ResultData><UpdateInventoryItemResponse><Sku>FAKE001</Sku><Result>true</Result></UpdateInventoryItemResponse><UpdateInventoryItemResponse><Sku>FAKE002</Sku><Result>true</Result></UpdateInventoryItemResponse></ResultData></UpdateInventoryItemQuantityAndPriceListResult></UpdateInventoryItemQuantityAndPriceListResponse></soap:Body></soap:Envelope>
|
142
|
+
http_version: '1.1'
|
143
|
+
recorded_at: Fri, 15 Jun 2012 22:13:58 GMT
|
144
|
+
- request:
|
145
|
+
method: post
|
146
|
+
uri: https://api.channeladvisor.com/ChannelAdvisorAPI/v6/InventoryService.asmx
|
147
|
+
body:
|
148
|
+
encoding: US-ASCII
|
149
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
150
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://api.channeladvisor.com/webservices/"
|
151
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="http://api.channeladvisor.com/webservices/"><env:Header><ins0:APICredentials><ins0:DeveloperKey>$$DEVELOPER_KEY$$</ins0:DeveloperKey><ins0:Password>$$PASSWORD$$</ins0:Password></ins0:APICredentials></env:Header><env:Body><ins0:UpdateInventoryItemQuantityAndPriceList><ins0:accountID>$$ACCOUNT_ID$$</ins0:accountID><ins0:itemQuantityAndPriceList><ins0:InventoryItemQuantityAndPrice><ins0:Sku>FAKE001</ins0:Sku><ins0:PriceInfo><ins0:Cost>2.99</ins0:Cost><ins0:RetailPrice>11.99</ins0:RetailPrice><ins0:StartingPrice>5.99</ins0:StartingPrice><ins0:ReservePrice>7.99</ins0:ReservePrice><ins0:TakeItPrice>9.99</ins0:TakeItPrice><ins0:SecondChanceOfferPrice>8.99</ins0:SecondChanceOfferPrice><ins0:StorePrice>9.49</ins0:StorePrice></ins0:PriceInfo></ins0:InventoryItemQuantityAndPrice><ins0:InventoryItemQuantityAndPrice><ins0:Sku>FAKE002</ins0:Sku><ins0:PriceInfo><ins0:Cost>3.99</ins0:Cost><ins0:RetailPrice>10.99</ins0:RetailPrice><ins0:StartingPrice>4.99</ins0:StartingPrice><ins0:ReservePrice>7.99</ins0:ReservePrice><ins0:TakeItPrice>8.99</ins0:TakeItPrice><ins0:SecondChanceOfferPrice>6.99</ins0:SecondChanceOfferPrice><ins0:StorePrice>8.49</ins0:StorePrice></ins0:PriceInfo></ins0:InventoryItemQuantityAndPrice></ins0:itemQuantityAndPriceList></ins0:UpdateInventoryItemQuantityAndPriceList></env:Body></env:Envelope>
|
152
|
+
headers:
|
153
|
+
soapaction:
|
154
|
+
- ! '"http://api.channeladvisor.com/webservices/UpdateInventoryItemQuantityAndPriceList"'
|
155
|
+
content-type:
|
156
|
+
- text/xml;charset=UTF-8
|
157
|
+
content-length:
|
158
|
+
- '1628'
|
159
|
+
accept:
|
160
|
+
- ! '*/*'
|
161
|
+
user-agent:
|
162
|
+
- Ruby
|
163
|
+
response:
|
164
|
+
status:
|
165
|
+
code: 200
|
166
|
+
message: OK
|
167
|
+
headers:
|
168
|
+
date:
|
169
|
+
- Fri, 15 Jun 2012 22:14:01 GMT
|
170
|
+
server:
|
171
|
+
- Microsoft-IIS/6.0
|
172
|
+
x-servername:
|
173
|
+
- RDU-IISWEB-09
|
174
|
+
x-powered-by:
|
175
|
+
- ASP.NET
|
176
|
+
x-aspnet-version:
|
177
|
+
- 4.0.30319
|
178
|
+
cache-control:
|
179
|
+
- private, max-age=0
|
180
|
+
content-type:
|
181
|
+
- text/xml; charset=utf-8
|
182
|
+
content-length:
|
183
|
+
- '764'
|
184
|
+
body:
|
185
|
+
encoding: US-ASCII
|
186
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
187
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><UpdateInventoryItemQuantityAndPriceListResponse
|
188
|
+
xmlns="http://api.channeladvisor.com/webservices/"><UpdateInventoryItemQuantityAndPriceListResult><Status>Success</Status><MessageCode>0</MessageCode><ResultData><UpdateInventoryItemResponse><Sku>FAKE001</Sku><Result>true</Result></UpdateInventoryItemResponse><UpdateInventoryItemResponse><Sku>FAKE002</Sku><Result>true</Result></UpdateInventoryItemResponse></ResultData></UpdateInventoryItemQuantityAndPriceListResult></UpdateInventoryItemQuantityAndPriceListResponse></soap:Body></soap:Envelope>
|
189
|
+
http_version: '1.1'
|
190
|
+
recorded_at: Fri, 15 Jun 2012 22:14:02 GMT
|
191
|
+
- request:
|
192
|
+
method: post
|
193
|
+
uri: https://api.channeladvisor.com/ChannelAdvisorAPI/v6/InventoryService.asmx
|
194
|
+
body:
|
195
|
+
encoding: US-ASCII
|
196
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
197
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://api.channeladvisor.com/webservices/"
|
198
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="http://api.channeladvisor.com/webservices/"><env:Header><ins0:APICredentials><ins0:DeveloperKey>$$DEVELOPER_KEY$$</ins0:DeveloperKey><ins0:Password>$$PASSWORD$$</ins0:Password></ins0:APICredentials></env:Header><env:Body><ins0:UpdateInventoryItemQuantityAndPriceList><ins0:accountID>$$ACCOUNT_ID$$</ins0:accountID><ins0:itemQuantityAndPriceList><ins0:InventoryItemQuantityAndPrice><ins0:Sku>FAKE001</ins0:Sku><ins0:PriceInfo><ins0:Cost>2.99</ins0:Cost><ins0:RetailPrice>11.99</ins0:RetailPrice><ins0:StartingPrice>5.99</ins0:StartingPrice><ins0:ReservePrice>7.99</ins0:ReservePrice><ins0:TakeItPrice>9.99</ins0:TakeItPrice><ins0:SecondChanceOfferPrice>8.99</ins0:SecondChanceOfferPrice><ins0:StorePrice>9.49</ins0:StorePrice></ins0:PriceInfo></ins0:InventoryItemQuantityAndPrice><ins0:InventoryItemQuantityAndPrice><ins0:Sku>FAKE002</ins0:Sku><ins0:PriceInfo><ins0:Cost>3.99</ins0:Cost><ins0:RetailPrice>10.99</ins0:RetailPrice><ins0:StartingPrice>4.99</ins0:StartingPrice><ins0:ReservePrice>7.99</ins0:ReservePrice><ins0:TakeItPrice>8.99</ins0:TakeItPrice><ins0:SecondChanceOfferPrice>6.99</ins0:SecondChanceOfferPrice><ins0:StorePrice>8.49</ins0:StorePrice></ins0:PriceInfo></ins0:InventoryItemQuantityAndPrice></ins0:itemQuantityAndPriceList></ins0:UpdateInventoryItemQuantityAndPriceList></env:Body></env:Envelope>
|
199
|
+
headers:
|
200
|
+
soapaction:
|
201
|
+
- ! '"http://api.channeladvisor.com/webservices/UpdateInventoryItemQuantityAndPriceList"'
|
202
|
+
content-type:
|
203
|
+
- text/xml;charset=UTF-8
|
204
|
+
content-length:
|
205
|
+
- '1628'
|
206
|
+
accept:
|
207
|
+
- ! '*/*'
|
208
|
+
user-agent:
|
209
|
+
- Ruby
|
210
|
+
response:
|
211
|
+
status:
|
212
|
+
code: 200
|
213
|
+
message: OK
|
214
|
+
headers:
|
215
|
+
date:
|
216
|
+
- Fri, 15 Jun 2012 22:14:05 GMT
|
217
|
+
server:
|
218
|
+
- Microsoft-IIS/6.0
|
219
|
+
x-servername:
|
220
|
+
- RDU-IISWEB-04
|
221
|
+
x-powered-by:
|
222
|
+
- ASP.NET
|
223
|
+
x-aspnet-version:
|
224
|
+
- 4.0.30319
|
225
|
+
cache-control:
|
226
|
+
- private, max-age=0
|
227
|
+
content-type:
|
228
|
+
- text/xml; charset=utf-8
|
229
|
+
content-length:
|
230
|
+
- '764'
|
231
|
+
body:
|
232
|
+
encoding: US-ASCII
|
233
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
234
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><UpdateInventoryItemQuantityAndPriceListResponse
|
235
|
+
xmlns="http://api.channeladvisor.com/webservices/"><UpdateInventoryItemQuantityAndPriceListResult><Status>Success</Status><MessageCode>0</MessageCode><ResultData><UpdateInventoryItemResponse><Sku>FAKE001</Sku><Result>true</Result></UpdateInventoryItemResponse><UpdateInventoryItemResponse><Sku>FAKE002</Sku><Result>true</Result></UpdateInventoryItemResponse></ResultData></UpdateInventoryItemQuantityAndPriceListResult></UpdateInventoryItemQuantityAndPriceListResponse></soap:Body></soap:Envelope>
|
236
|
+
http_version: '1.1'
|
237
|
+
recorded_at: Fri, 15 Jun 2012 22:14:05 GMT
|
238
|
+
recorded_with: VCR 2.2.1
|
@@ -0,0 +1,285 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: https://api.channeladvisor.com/ChannelAdvisorAPI/v6/InventoryService.asmx
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
9
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://api.channeladvisor.com/webservices/"
|
10
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="http://api.channeladvisor.com/webservices/"><env:Header><ins0:APICredentials><ins0:DeveloperKey>$$DEVELOPER_KEY$$</ins0:DeveloperKey><ins0:Password>$$PASSWORD$$</ins0:Password></ins0:APICredentials></env:Header><env:Body><ins0:UpdateInventoryItemQuantityAndPriceList><ins0:accountID>$$ACCOUNT_ID$$</ins0:accountID><ins0:itemQuantityAndPriceList><ins0:InventoryItemQuantityAndPrice><ins0:Sku>FAKE001</ins0:Sku><ins0:QuantityInfo><ins0:UpdateType>Absolute</ins0:UpdateType><ins0:Total>5000</ins0:Total></ins0:QuantityInfo><ins0:PriceInfo><ins0:Cost>2.99</ins0:Cost><ins0:RetailPrice>11.99</ins0:RetailPrice><ins0:StartingPrice>5.99</ins0:StartingPrice><ins0:ReservePrice>7.99</ins0:ReservePrice><ins0:TakeItPrice>9.99</ins0:TakeItPrice><ins0:SecondChanceOfferPrice>8.99</ins0:SecondChanceOfferPrice><ins0:StorePrice>9.49</ins0:StorePrice></ins0:PriceInfo></ins0:InventoryItemQuantityAndPrice><ins0:InventoryItemQuantityAndPrice><ins0:Sku>FAKE002</ins0:Sku><ins0:QuantityInfo><ins0:UpdateType>Absolute</ins0:UpdateType><ins0:Total>7500</ins0:Total></ins0:QuantityInfo><ins0:PriceInfo><ins0:Cost>3.99</ins0:Cost><ins0:RetailPrice>10.99</ins0:RetailPrice><ins0:StartingPrice>4.99</ins0:StartingPrice><ins0:ReservePrice>7.99</ins0:ReservePrice><ins0:TakeItPrice>8.99</ins0:TakeItPrice><ins0:SecondChanceOfferPrice>6.99</ins0:SecondChanceOfferPrice><ins0:StorePrice>8.49</ins0:StorePrice></ins0:PriceInfo></ins0:InventoryItemQuantityAndPrice></ins0:itemQuantityAndPriceList></ins0:UpdateInventoryItemQuantityAndPriceList></env:Body></env:Envelope>
|
11
|
+
headers:
|
12
|
+
soapaction:
|
13
|
+
- ! '"http://api.channeladvisor.com/webservices/UpdateInventoryItemQuantityAndPriceList"'
|
14
|
+
content-type:
|
15
|
+
- text/xml;charset=UTF-8
|
16
|
+
content-length:
|
17
|
+
- '1850'
|
18
|
+
accept:
|
19
|
+
- ! '*/*'
|
20
|
+
user-agent:
|
21
|
+
- Ruby
|
22
|
+
response:
|
23
|
+
status:
|
24
|
+
code: 200
|
25
|
+
message: OK
|
26
|
+
headers:
|
27
|
+
date:
|
28
|
+
- Fri, 15 Jun 2012 22:16:16 GMT
|
29
|
+
server:
|
30
|
+
- Microsoft-IIS/6.0
|
31
|
+
x-servername:
|
32
|
+
- RDU-IISWEB-09
|
33
|
+
x-powered-by:
|
34
|
+
- ASP.NET
|
35
|
+
x-aspnet-version:
|
36
|
+
- 4.0.30319
|
37
|
+
cache-control:
|
38
|
+
- private, max-age=0
|
39
|
+
content-type:
|
40
|
+
- text/xml; charset=utf-8
|
41
|
+
content-length:
|
42
|
+
- '764'
|
43
|
+
body:
|
44
|
+
encoding: US-ASCII
|
45
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
46
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><UpdateInventoryItemQuantityAndPriceListResponse
|
47
|
+
xmlns="http://api.channeladvisor.com/webservices/"><UpdateInventoryItemQuantityAndPriceListResult><Status>Success</Status><MessageCode>0</MessageCode><ResultData><UpdateInventoryItemResponse><Sku>FAKE001</Sku><Result>true</Result></UpdateInventoryItemResponse><UpdateInventoryItemResponse><Sku>FAKE002</Sku><Result>true</Result></UpdateInventoryItemResponse></ResultData></UpdateInventoryItemQuantityAndPriceListResult></UpdateInventoryItemQuantityAndPriceListResponse></soap:Body></soap:Envelope>
|
48
|
+
http_version: '1.1'
|
49
|
+
recorded_at: Fri, 15 Jun 2012 22:16:17 GMT
|
50
|
+
- request:
|
51
|
+
method: post
|
52
|
+
uri: https://api.channeladvisor.com/ChannelAdvisorAPI/v6/InventoryService.asmx
|
53
|
+
body:
|
54
|
+
encoding: US-ASCII
|
55
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
56
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://api.channeladvisor.com/webservices/"
|
57
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="http://api.channeladvisor.com/webservices/"><env:Header><ins0:APICredentials><ins0:DeveloperKey>$$DEVELOPER_KEY$$</ins0:DeveloperKey><ins0:Password>$$PASSWORD$$</ins0:Password></ins0:APICredentials></env:Header><env:Body><ins0:UpdateInventoryItemQuantityAndPriceList><ins0:accountID>$$ACCOUNT_ID$$</ins0:accountID><ins0:itemQuantityAndPriceList><ins0:InventoryItemQuantityAndPrice><ins0:Sku>FAKE001</ins0:Sku><ins0:QuantityInfo><ins0:UpdateType>Absolute</ins0:UpdateType><ins0:Total>5000</ins0:Total></ins0:QuantityInfo><ins0:PriceInfo><ins0:Cost>2.99</ins0:Cost><ins0:RetailPrice>11.99</ins0:RetailPrice><ins0:StartingPrice>5.99</ins0:StartingPrice><ins0:ReservePrice>7.99</ins0:ReservePrice><ins0:TakeItPrice>9.99</ins0:TakeItPrice><ins0:SecondChanceOfferPrice>8.99</ins0:SecondChanceOfferPrice><ins0:StorePrice>9.49</ins0:StorePrice></ins0:PriceInfo></ins0:InventoryItemQuantityAndPrice><ins0:InventoryItemQuantityAndPrice><ins0:Sku>FAKE002</ins0:Sku><ins0:QuantityInfo><ins0:UpdateType>Absolute</ins0:UpdateType><ins0:Total>7500</ins0:Total></ins0:QuantityInfo><ins0:PriceInfo><ins0:Cost>3.99</ins0:Cost><ins0:RetailPrice>10.99</ins0:RetailPrice><ins0:StartingPrice>4.99</ins0:StartingPrice><ins0:ReservePrice>7.99</ins0:ReservePrice><ins0:TakeItPrice>8.99</ins0:TakeItPrice><ins0:SecondChanceOfferPrice>6.99</ins0:SecondChanceOfferPrice><ins0:StorePrice>8.49</ins0:StorePrice></ins0:PriceInfo></ins0:InventoryItemQuantityAndPrice></ins0:itemQuantityAndPriceList></ins0:UpdateInventoryItemQuantityAndPriceList></env:Body></env:Envelope>
|
58
|
+
headers:
|
59
|
+
soapaction:
|
60
|
+
- ! '"http://api.channeladvisor.com/webservices/UpdateInventoryItemQuantityAndPriceList"'
|
61
|
+
content-type:
|
62
|
+
- text/xml;charset=UTF-8
|
63
|
+
content-length:
|
64
|
+
- '1850'
|
65
|
+
accept:
|
66
|
+
- ! '*/*'
|
67
|
+
user-agent:
|
68
|
+
- Ruby
|
69
|
+
response:
|
70
|
+
status:
|
71
|
+
code: 200
|
72
|
+
message: OK
|
73
|
+
headers:
|
74
|
+
date:
|
75
|
+
- Fri, 15 Jun 2012 22:16:18 GMT
|
76
|
+
server:
|
77
|
+
- Microsoft-IIS/6.0
|
78
|
+
x-servername:
|
79
|
+
- RDU-IISWEB-03
|
80
|
+
x-powered-by:
|
81
|
+
- ASP.NET
|
82
|
+
x-aspnet-version:
|
83
|
+
- 4.0.30319
|
84
|
+
cache-control:
|
85
|
+
- private, max-age=0
|
86
|
+
content-type:
|
87
|
+
- text/xml; charset=utf-8
|
88
|
+
content-length:
|
89
|
+
- '764'
|
90
|
+
body:
|
91
|
+
encoding: US-ASCII
|
92
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
93
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><UpdateInventoryItemQuantityAndPriceListResponse
|
94
|
+
xmlns="http://api.channeladvisor.com/webservices/"><UpdateInventoryItemQuantityAndPriceListResult><Status>Success</Status><MessageCode>0</MessageCode><ResultData><UpdateInventoryItemResponse><Sku>FAKE001</Sku><Result>true</Result></UpdateInventoryItemResponse><UpdateInventoryItemResponse><Sku>FAKE002</Sku><Result>true</Result></UpdateInventoryItemResponse></ResultData></UpdateInventoryItemQuantityAndPriceListResult></UpdateInventoryItemQuantityAndPriceListResponse></soap:Body></soap:Envelope>
|
95
|
+
http_version: '1.1'
|
96
|
+
recorded_at: Fri, 15 Jun 2012 22:16:18 GMT
|
97
|
+
- request:
|
98
|
+
method: post
|
99
|
+
uri: https://api.channeladvisor.com/ChannelAdvisorAPI/v6/InventoryService.asmx
|
100
|
+
body:
|
101
|
+
encoding: US-ASCII
|
102
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
103
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://api.channeladvisor.com/webservices/"
|
104
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="http://api.channeladvisor.com/webservices/"><env:Header><ins0:APICredentials><ins0:DeveloperKey>$$DEVELOPER_KEY$$</ins0:DeveloperKey><ins0:Password>$$PASSWORD$$</ins0:Password></ins0:APICredentials></env:Header><env:Body><ins0:UpdateInventoryItemQuantityAndPriceList><ins0:accountID>$$ACCOUNT_ID$$</ins0:accountID><ins0:itemQuantityAndPriceList><ins0:InventoryItemQuantityAndPrice><ins0:Sku>FAKE001</ins0:Sku><ins0:QuantityInfo><ins0:UpdateType>Absolute</ins0:UpdateType><ins0:Total>5000</ins0:Total></ins0:QuantityInfo><ins0:PriceInfo><ins0:Cost>2.99</ins0:Cost><ins0:RetailPrice>11.99</ins0:RetailPrice><ins0:StartingPrice>5.99</ins0:StartingPrice><ins0:ReservePrice>7.99</ins0:ReservePrice><ins0:TakeItPrice>9.99</ins0:TakeItPrice><ins0:SecondChanceOfferPrice>8.99</ins0:SecondChanceOfferPrice><ins0:StorePrice>9.49</ins0:StorePrice></ins0:PriceInfo></ins0:InventoryItemQuantityAndPrice><ins0:InventoryItemQuantityAndPrice><ins0:Sku>FAKE002</ins0:Sku><ins0:QuantityInfo><ins0:UpdateType>Absolute</ins0:UpdateType><ins0:Total>7500</ins0:Total></ins0:QuantityInfo><ins0:PriceInfo><ins0:Cost>3.99</ins0:Cost><ins0:RetailPrice>10.99</ins0:RetailPrice><ins0:StartingPrice>4.99</ins0:StartingPrice><ins0:ReservePrice>7.99</ins0:ReservePrice><ins0:TakeItPrice>8.99</ins0:TakeItPrice><ins0:SecondChanceOfferPrice>6.99</ins0:SecondChanceOfferPrice><ins0:StorePrice>8.49</ins0:StorePrice></ins0:PriceInfo></ins0:InventoryItemQuantityAndPrice></ins0:itemQuantityAndPriceList></ins0:UpdateInventoryItemQuantityAndPriceList></env:Body></env:Envelope>
|
105
|
+
headers:
|
106
|
+
soapaction:
|
107
|
+
- ! '"http://api.channeladvisor.com/webservices/UpdateInventoryItemQuantityAndPriceList"'
|
108
|
+
content-type:
|
109
|
+
- text/xml;charset=UTF-8
|
110
|
+
content-length:
|
111
|
+
- '1850'
|
112
|
+
accept:
|
113
|
+
- ! '*/*'
|
114
|
+
user-agent:
|
115
|
+
- Ruby
|
116
|
+
response:
|
117
|
+
status:
|
118
|
+
code: 200
|
119
|
+
message: OK
|
120
|
+
headers:
|
121
|
+
date:
|
122
|
+
- Fri, 15 Jun 2012 22:16:20 GMT
|
123
|
+
server:
|
124
|
+
- Microsoft-IIS/6.0
|
125
|
+
x-servername:
|
126
|
+
- RDU-IISWEB-11
|
127
|
+
x-powered-by:
|
128
|
+
- ASP.NET
|
129
|
+
x-aspnet-version:
|
130
|
+
- 4.0.30319
|
131
|
+
cache-control:
|
132
|
+
- private, max-age=0
|
133
|
+
content-type:
|
134
|
+
- text/xml; charset=utf-8
|
135
|
+
content-length:
|
136
|
+
- '764'
|
137
|
+
body:
|
138
|
+
encoding: US-ASCII
|
139
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
140
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><UpdateInventoryItemQuantityAndPriceListResponse
|
141
|
+
xmlns="http://api.channeladvisor.com/webservices/"><UpdateInventoryItemQuantityAndPriceListResult><Status>Success</Status><MessageCode>0</MessageCode><ResultData><UpdateInventoryItemResponse><Sku>FAKE001</Sku><Result>true</Result></UpdateInventoryItemResponse><UpdateInventoryItemResponse><Sku>FAKE002</Sku><Result>true</Result></UpdateInventoryItemResponse></ResultData></UpdateInventoryItemQuantityAndPriceListResult></UpdateInventoryItemQuantityAndPriceListResponse></soap:Body></soap:Envelope>
|
142
|
+
http_version: '1.1'
|
143
|
+
recorded_at: Fri, 15 Jun 2012 22:16:20 GMT
|
144
|
+
- request:
|
145
|
+
method: post
|
146
|
+
uri: https://api.channeladvisor.com/ChannelAdvisorAPI/v6/InventoryService.asmx
|
147
|
+
body:
|
148
|
+
encoding: US-ASCII
|
149
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
150
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://api.channeladvisor.com/webservices/"
|
151
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="http://api.channeladvisor.com/webservices/"><env:Header><ins0:APICredentials><ins0:DeveloperKey>$$DEVELOPER_KEY$$</ins0:DeveloperKey><ins0:Password>$$PASSWORD$$</ins0:Password></ins0:APICredentials></env:Header><env:Body><ins0:UpdateInventoryItemQuantityAndPriceList><ins0:accountID>$$ACCOUNT_ID$$</ins0:accountID><ins0:itemQuantityAndPriceList><ins0:InventoryItemQuantityAndPrice><ins0:Sku>FAKE001</ins0:Sku><ins0:QuantityInfo><ins0:UpdateType>Absolute</ins0:UpdateType><ins0:Total>5000</ins0:Total></ins0:QuantityInfo><ins0:PriceInfo><ins0:Cost>2.99</ins0:Cost><ins0:RetailPrice>11.99</ins0:RetailPrice><ins0:StartingPrice>5.99</ins0:StartingPrice><ins0:ReservePrice>7.99</ins0:ReservePrice><ins0:TakeItPrice>9.99</ins0:TakeItPrice><ins0:SecondChanceOfferPrice>8.99</ins0:SecondChanceOfferPrice><ins0:StorePrice>9.49</ins0:StorePrice></ins0:PriceInfo></ins0:InventoryItemQuantityAndPrice><ins0:InventoryItemQuantityAndPrice><ins0:Sku>FAKE002</ins0:Sku><ins0:QuantityInfo><ins0:UpdateType>Absolute</ins0:UpdateType><ins0:Total>7500</ins0:Total></ins0:QuantityInfo><ins0:PriceInfo><ins0:Cost>3.99</ins0:Cost><ins0:RetailPrice>10.99</ins0:RetailPrice><ins0:StartingPrice>4.99</ins0:StartingPrice><ins0:ReservePrice>7.99</ins0:ReservePrice><ins0:TakeItPrice>8.99</ins0:TakeItPrice><ins0:SecondChanceOfferPrice>6.99</ins0:SecondChanceOfferPrice><ins0:StorePrice>8.49</ins0:StorePrice></ins0:PriceInfo></ins0:InventoryItemQuantityAndPrice></ins0:itemQuantityAndPriceList></ins0:UpdateInventoryItemQuantityAndPriceList></env:Body></env:Envelope>
|
152
|
+
headers:
|
153
|
+
soapaction:
|
154
|
+
- ! '"http://api.channeladvisor.com/webservices/UpdateInventoryItemQuantityAndPriceList"'
|
155
|
+
content-type:
|
156
|
+
- text/xml;charset=UTF-8
|
157
|
+
content-length:
|
158
|
+
- '1850'
|
159
|
+
accept:
|
160
|
+
- ! '*/*'
|
161
|
+
user-agent:
|
162
|
+
- Ruby
|
163
|
+
response:
|
164
|
+
status:
|
165
|
+
code: 200
|
166
|
+
message: OK
|
167
|
+
headers:
|
168
|
+
date:
|
169
|
+
- Fri, 15 Jun 2012 22:16:21 GMT
|
170
|
+
server:
|
171
|
+
- Microsoft-IIS/6.0
|
172
|
+
x-servername:
|
173
|
+
- RDU-IISWEB-05
|
174
|
+
x-powered-by:
|
175
|
+
- ASP.NET
|
176
|
+
x-aspnet-version:
|
177
|
+
- 4.0.30319
|
178
|
+
cache-control:
|
179
|
+
- private, max-age=0
|
180
|
+
content-type:
|
181
|
+
- text/xml; charset=utf-8
|
182
|
+
content-length:
|
183
|
+
- '764'
|
184
|
+
body:
|
185
|
+
encoding: US-ASCII
|
186
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
187
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><UpdateInventoryItemQuantityAndPriceListResponse
|
188
|
+
xmlns="http://api.channeladvisor.com/webservices/"><UpdateInventoryItemQuantityAndPriceListResult><Status>Success</Status><MessageCode>0</MessageCode><ResultData><UpdateInventoryItemResponse><Sku>FAKE001</Sku><Result>true</Result></UpdateInventoryItemResponse><UpdateInventoryItemResponse><Sku>FAKE002</Sku><Result>true</Result></UpdateInventoryItemResponse></ResultData></UpdateInventoryItemQuantityAndPriceListResult></UpdateInventoryItemQuantityAndPriceListResponse></soap:Body></soap:Envelope>
|
189
|
+
http_version: '1.1'
|
190
|
+
recorded_at: Fri, 15 Jun 2012 22:16:22 GMT
|
191
|
+
- request:
|
192
|
+
method: post
|
193
|
+
uri: https://api.channeladvisor.com/ChannelAdvisorAPI/v6/InventoryService.asmx
|
194
|
+
body:
|
195
|
+
encoding: US-ASCII
|
196
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
197
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://api.channeladvisor.com/webservices/"
|
198
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="http://api.channeladvisor.com/webservices/"><env:Header><ins0:APICredentials><ins0:DeveloperKey>$$DEVELOPER_KEY$$</ins0:DeveloperKey><ins0:Password>$$PASSWORD$$</ins0:Password></ins0:APICredentials></env:Header><env:Body><ins0:UpdateInventoryItemQuantityAndPriceList><ins0:accountID>$$ACCOUNT_ID$$</ins0:accountID><ins0:itemQuantityAndPriceList><ins0:InventoryItemQuantityAndPrice><ins0:Sku>FAKE001</ins0:Sku><ins0:QuantityInfo><ins0:UpdateType>Absolute</ins0:UpdateType><ins0:Total>5000</ins0:Total></ins0:QuantityInfo><ins0:PriceInfo><ins0:Cost>2.99</ins0:Cost><ins0:RetailPrice>11.99</ins0:RetailPrice><ins0:StartingPrice>5.99</ins0:StartingPrice><ins0:ReservePrice>7.99</ins0:ReservePrice><ins0:TakeItPrice>9.99</ins0:TakeItPrice><ins0:SecondChanceOfferPrice>8.99</ins0:SecondChanceOfferPrice><ins0:StorePrice>9.49</ins0:StorePrice></ins0:PriceInfo></ins0:InventoryItemQuantityAndPrice><ins0:InventoryItemQuantityAndPrice><ins0:Sku>FAKE002</ins0:Sku><ins0:QuantityInfo><ins0:UpdateType>Absolute</ins0:UpdateType><ins0:Total>7500</ins0:Total></ins0:QuantityInfo><ins0:PriceInfo><ins0:Cost>3.99</ins0:Cost><ins0:RetailPrice>10.99</ins0:RetailPrice><ins0:StartingPrice>4.99</ins0:StartingPrice><ins0:ReservePrice>7.99</ins0:ReservePrice><ins0:TakeItPrice>8.99</ins0:TakeItPrice><ins0:SecondChanceOfferPrice>6.99</ins0:SecondChanceOfferPrice><ins0:StorePrice>8.49</ins0:StorePrice></ins0:PriceInfo></ins0:InventoryItemQuantityAndPrice></ins0:itemQuantityAndPriceList></ins0:UpdateInventoryItemQuantityAndPriceList></env:Body></env:Envelope>
|
199
|
+
headers:
|
200
|
+
soapaction:
|
201
|
+
- ! '"http://api.channeladvisor.com/webservices/UpdateInventoryItemQuantityAndPriceList"'
|
202
|
+
content-type:
|
203
|
+
- text/xml;charset=UTF-8
|
204
|
+
content-length:
|
205
|
+
- '1850'
|
206
|
+
accept:
|
207
|
+
- ! '*/*'
|
208
|
+
user-agent:
|
209
|
+
- Ruby
|
210
|
+
response:
|
211
|
+
status:
|
212
|
+
code: 200
|
213
|
+
message: OK
|
214
|
+
headers:
|
215
|
+
date:
|
216
|
+
- Fri, 15 Jun 2012 22:16:22 GMT
|
217
|
+
server:
|
218
|
+
- Microsoft-IIS/6.0
|
219
|
+
x-servername:
|
220
|
+
- RDU-IISWEB-05
|
221
|
+
x-powered-by:
|
222
|
+
- ASP.NET
|
223
|
+
x-aspnet-version:
|
224
|
+
- 4.0.30319
|
225
|
+
cache-control:
|
226
|
+
- private, max-age=0
|
227
|
+
content-type:
|
228
|
+
- text/xml; charset=utf-8
|
229
|
+
content-length:
|
230
|
+
- '764'
|
231
|
+
body:
|
232
|
+
encoding: US-ASCII
|
233
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
234
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><UpdateInventoryItemQuantityAndPriceListResponse
|
235
|
+
xmlns="http://api.channeladvisor.com/webservices/"><UpdateInventoryItemQuantityAndPriceListResult><Status>Success</Status><MessageCode>0</MessageCode><ResultData><UpdateInventoryItemResponse><Sku>FAKE001</Sku><Result>true</Result></UpdateInventoryItemResponse><UpdateInventoryItemResponse><Sku>FAKE002</Sku><Result>true</Result></UpdateInventoryItemResponse></ResultData></UpdateInventoryItemQuantityAndPriceListResult></UpdateInventoryItemQuantityAndPriceListResponse></soap:Body></soap:Envelope>
|
236
|
+
http_version: '1.1'
|
237
|
+
recorded_at: Fri, 15 Jun 2012 22:16:23 GMT
|
238
|
+
- request:
|
239
|
+
method: post
|
240
|
+
uri: https://api.channeladvisor.com/ChannelAdvisorAPI/v6/InventoryService.asmx
|
241
|
+
body:
|
242
|
+
encoding: US-ASCII
|
243
|
+
string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
244
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://api.channeladvisor.com/webservices/"
|
245
|
+
xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ins0="http://api.channeladvisor.com/webservices/"><env:Header><ins0:APICredentials><ins0:DeveloperKey>$$DEVELOPER_KEY$$</ins0:DeveloperKey><ins0:Password>$$PASSWORD$$</ins0:Password></ins0:APICredentials></env:Header><env:Body><ins0:UpdateInventoryItemQuantityAndPriceList><ins0:accountID>$$ACCOUNT_ID$$</ins0:accountID><ins0:itemQuantityAndPriceList><ins0:InventoryItemQuantityAndPrice><ins0:Sku>FAKE001</ins0:Sku><ins0:QuantityInfo><ins0:UpdateType>Absolute</ins0:UpdateType><ins0:Total>5000</ins0:Total></ins0:QuantityInfo><ins0:PriceInfo><ins0:Cost>2.99</ins0:Cost><ins0:RetailPrice>11.99</ins0:RetailPrice><ins0:StartingPrice>5.99</ins0:StartingPrice><ins0:ReservePrice>7.99</ins0:ReservePrice><ins0:TakeItPrice>9.99</ins0:TakeItPrice><ins0:SecondChanceOfferPrice>8.99</ins0:SecondChanceOfferPrice><ins0:StorePrice>9.49</ins0:StorePrice></ins0:PriceInfo></ins0:InventoryItemQuantityAndPrice><ins0:InventoryItemQuantityAndPrice><ins0:Sku>FAKE002</ins0:Sku><ins0:QuantityInfo><ins0:UpdateType>Absolute</ins0:UpdateType><ins0:Total>7500</ins0:Total></ins0:QuantityInfo><ins0:PriceInfo><ins0:Cost>3.99</ins0:Cost><ins0:RetailPrice>10.99</ins0:RetailPrice><ins0:StartingPrice>4.99</ins0:StartingPrice><ins0:ReservePrice>7.99</ins0:ReservePrice><ins0:TakeItPrice>8.99</ins0:TakeItPrice><ins0:SecondChanceOfferPrice>6.99</ins0:SecondChanceOfferPrice><ins0:StorePrice>8.49</ins0:StorePrice></ins0:PriceInfo></ins0:InventoryItemQuantityAndPrice></ins0:itemQuantityAndPriceList></ins0:UpdateInventoryItemQuantityAndPriceList></env:Body></env:Envelope>
|
246
|
+
headers:
|
247
|
+
soapaction:
|
248
|
+
- ! '"http://api.channeladvisor.com/webservices/UpdateInventoryItemQuantityAndPriceList"'
|
249
|
+
content-type:
|
250
|
+
- text/xml;charset=UTF-8
|
251
|
+
content-length:
|
252
|
+
- '1850'
|
253
|
+
accept:
|
254
|
+
- ! '*/*'
|
255
|
+
user-agent:
|
256
|
+
- Ruby
|
257
|
+
response:
|
258
|
+
status:
|
259
|
+
code: 200
|
260
|
+
message: OK
|
261
|
+
headers:
|
262
|
+
date:
|
263
|
+
- Fri, 15 Jun 2012 22:16:24 GMT
|
264
|
+
server:
|
265
|
+
- Microsoft-IIS/6.0
|
266
|
+
x-servername:
|
267
|
+
- RDU-IISWEB-08
|
268
|
+
x-powered-by:
|
269
|
+
- ASP.NET
|
270
|
+
x-aspnet-version:
|
271
|
+
- 4.0.30319
|
272
|
+
cache-control:
|
273
|
+
- private, max-age=0
|
274
|
+
content-type:
|
275
|
+
- text/xml; charset=utf-8
|
276
|
+
content-length:
|
277
|
+
- '764'
|
278
|
+
body:
|
279
|
+
encoding: US-ASCII
|
280
|
+
string: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
|
281
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><UpdateInventoryItemQuantityAndPriceListResponse
|
282
|
+
xmlns="http://api.channeladvisor.com/webservices/"><UpdateInventoryItemQuantityAndPriceListResult><Status>Success</Status><MessageCode>0</MessageCode><ResultData><UpdateInventoryItemResponse><Sku>FAKE001</Sku><Result>true</Result></UpdateInventoryItemResponse><UpdateInventoryItemResponse><Sku>FAKE002</Sku><Result>true</Result></UpdateInventoryItemResponse></ResultData></UpdateInventoryItemQuantityAndPriceListResult></UpdateInventoryItemQuantityAndPriceListResponse></soap:Body></soap:Envelope>
|
283
|
+
http_version: '1.1'
|
284
|
+
recorded_at: Fri, 15 Jun 2012 22:16:24 GMT
|
285
|
+
recorded_with: VCR 2.2.1
|