{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"optional","settings":"","examples":{"codes":[]},"method":"get","results":{"codes":[]},"params":[]},"next":{"description":"","pages":[]},"title":"Retrieve SKU","type":"endpoint","slug":"retrieve-sku","excerpt":"","body":"##Definition\nhttps<span>://sandbox.bluesnap.com/services/2/catalog/skus/:sku-id</span>\n\n<hr>\n\n##Documentation\nThe Retrieve SKU request enables you to retrieve details of an existing SKU in your account.\n\n###Request Content\nEnter the `sku-id` into the web service URL, in the format:\n`services/2/catalog/skus/{sku-id}`\n\nFor example:\n`services/2/catalog/skus/987654`\n\n###Response Details\nIf successful, the response HTTP status code is 200 OK.\nThe response contains the retrieved `catalog-sku` resource (see [catalog-sku](doc:catalog-sku)).\nFor details about possible errors, see: [General Errors](doc:general-errors) and [Catalog Errors](doc:catalog-errors).\n\n<hr>\n\n##Examples\n\n###Request Example\n[block:code]\n{\n \"codes\": [\n {\n \"code\": \"curl -v -X GET https://sandbox.bluesnap.com/services/2/catalog/skus/2145718 \\\\\\n-H 'Content-Type: application/xml' \\\\\\n-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ='\",\n \"language\": \"curl\",\n \"name\": \"Retrieve SKU Request\"\n }\n ]\n}\n[/block]\n###Response Example\n[block:code]\n{\n \"codes\": [\n {\n \"code\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>\\n<catalog-sku xmlns=\\\"http://ws.plimus.com\\\">\\n <sku-name>One time charge - USD base</sku-name>\\n <contract-name>Version 3.3</contract-name>\\n <product-id>301977</product-id>\\n <sku-status>A</sku-status>\\n <sku-type>DIGITAL</sku-type>\\n <pricing-settings>\\n <charge-policy-type>ONE TIME PAYMENT</charge-policy-type>\\n <charge-policy>\\n <one-time-charge>\\n <catalog-prices>\\n <catalog-price>\\n <base-price>true</base-price>\\n <currency>USD</currency>\\n <amount>7.00</amount>\\n </catalog-price>\\n </catalog-prices>\\n </one-time-charge>\\n </charge-policy>\\n <rounding-price-method>NO ROUNDING</rounding-price-method>\\n </pricing-settings>\\n <sku-buynow-urls>\\n <buynow-url>\\n <url-description>BuyNow Page</url-description>\\n <url>https://sandbox.bluesnap.com/jsp/buynow.jsp?contractId=2147201</url>\\n </buynow-url>\\n </sku-buynow-urls>\\n <sku-quantity-policy>\\n <allow-quantity-change>true</allow-quantity-change>\\n <minimum-quantity>1</minimum-quantity>\\n </sku-quantity-policy>\\n <collect-shipping-address>false</collect-shipping-address>\\n <sku-effective-dates>\\n <effective-from>07-Apr-17</effective-from>\\n <effective-till>05-Apr-20</effective-till>\\n </sku-effective-dates>\\n <sku-coupon-settings>\\n <sku-coupon-setting>ENABLE</sku-coupon-setting>\\n </sku-coupon-settings>\\n <sku-custom-parameters />\\n</catalog-sku>\",\n \"language\": \"xml\",\n \"name\": \"Retrieve SKU Response\"\n }\n ]\n}\n[/block]\n<br>\n<a class=\"btn btn-primary\" href=\"#\" role=\"button\">Back to Top</a>","updates":[],"order":5,"isReference":true,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"61a5033cd3c4d201e7b583d3","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Catalog","slug":"coupon","order":4,"from_sync":false,"reference":true,"_id":"61a5033cd3c4d201e7b583be","version":"61a5033cd3c4d201e7b5848b","project":"57336fd5a6a9c40e00e13a0b","createdAt":"2016-05-12T15:22:00.041Z","__v":0},"parentDoc":null,"project":"57336fd5a6a9c40e00e13a0b","user":"560d5913af97231900938124","version":{"version":"8976-Extended","version_clean":"8976.0.0-Extended","codename":"3.40 Release","is_stable":false,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["61a5033cd3c4d201e7b583ba","61a5033cd3c4d201e7b583bb","61a5033cd3c4d201e7b583bc","61a5033cd3c4d201e7b583bd","61a5033cd3c4d201e7b583be","61a5033cd3c4d201e7b583bf","61a5033cd3c4d201e7b583c0","61a5033cd3c4d201e7b583c1","61a5033cd3c4d201e7b583c2","61a5033cd3c4d201e7b583c3","61a5033cd3c4d201e7b583c4"],"_id":"61a5033cd3c4d201e7b5848b","project":"57336fd5a6a9c40e00e13a0b","__v":0,"forked_from":"6040037678d626005641a154","createdAt":"2018-04-24T15:33:45.744Z","releaseDate":"2018-04-24T15:33:45.744Z"},"createdAt":"2016-05-12T15:18:24.562Z","githubsync":"","__v":0}
getRetrieve SKU
Definition
https://sandbox.bluesnap.com/services/2/catalog/skus/:sku-id
Documentation
The Retrieve SKU request enables you to retrieve details of an existing SKU in your account.
Request Content
Enter the sku-id
into the web service URL, in the format:services/2/catalog/skus/{sku-id}
For example:services/2/catalog/skus/987654
Response Details
If successful, the response HTTP status code is 200 OK.
The response contains the retrieved catalog-sku
resource (see catalog-sku).
For details about possible errors, see: General Errors and Catalog Errors.
Examples
Request Example
curl -v -X GET https://sandbox.bluesnap.com/services/2/catalog/skus/2145718 \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ='
<catalog-sku xmlns="http://ws.plimus.com">
<sku-name>One time charge - USD base</sku-name>
<contract-name>Version 3.3</contract-name>
<product-id>301977</product-id>
<sku-status>A</sku-status>
<sku-type>DIGITAL</sku-type>
<pricing-settings>
<charge-policy-type>ONE TIME PAYMENT</charge-policy-type>
<charge-policy>
<one-time-charge>
<catalog-prices>
<catalog-price>
<base-price>true</base-price>
<currency>USD</currency>
<amount>7.00</amount>
</catalog-price>
</catalog-prices>
</one-time-charge>
</charge-policy>
<rounding-price-method>NO ROUNDING</rounding-price-method>
</pricing-settings>
<sku-buynow-urls>
<buynow-url>
<url-description>BuyNow Page</url-description>
<url>https://sandbox.bluesnap.com/jsp/buynow.jsp?contractId=2147201</url>
</buynow-url>
</sku-buynow-urls>
<sku-quantity-policy>
<allow-quantity-change>true</allow-quantity-change>
<minimum-quantity>1</minimum-quantity>
</sku-quantity-policy>
<collect-shipping-address>false</collect-shipping-address>
<sku-effective-dates>
<effective-from>07-Apr-17</effective-from>
<effective-till>05-Apr-20</effective-till>
</sku-effective-dates>
<sku-coupon-settings>
<sku-coupon-setting>ENABLE</sku-coupon-setting>
</sku-coupon-settings>
<sku-custom-parameters />
</catalog-sku>