Sha256: 5d8908b429d11dceef25c6465d95e9ec783431f848c98be4c86292ce2f442a79
Contents?: true
Size: 1.91 KB
Versions: 1
Compression:
Stored size: 1.91 KB
Contents
{ "parameters": [ ], "response_fields": [ ], "requests": [ { "request_headers": { "Content-Type": "application/json" }, "request_query_parameters": { }, "response_headers": { "X-Frame-Options": "SAMEORIGIN", "X-XSS-Protection": "1; mode=block", "X-Content-Type-Options": "nosniff", "X-Download-Options": "noopen", "X-Permitted-Cross-Domain-Policies": "none", "Referrer-Policy": "strict-origin-when-cross-origin", "Location": "/api/admin/pricing_skus/2134/prices", "Content-Type": "application/json; charset=utf-8", "ETag": "W/\"42984700c368e98ea6eff1f48e75ae88\"", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "6925b7ba-b96b-4f09-a434-3233d7f9825d", "X-Runtime": "0.036058", "Expires": "0", "Content-Length": "231" }, "request_method": "POST", "request_path": "/api/admin/pricing_skus/2134/prices", "request_body": "{\"price\":{\"regular\":15}}", "request_content_type": "application/json", "response_status": 201, "response_status_text": "Created", "response_body": "{\n \"price\": {\n \"_id\": \"5d5ec9ccd4322a04dfbf6316\",\n \"active\": true,\n \"created_at\": \"2019-08-22T16:58:52.727Z\",\n \"min_quantity\": 1,\n \"on_sale\": false,\n \"regular\": {\n \"cents\": 1500.0,\n \"currency_iso\": \"USD\"\n },\n \"sale\": null,\n \"updated_at\": \"2019-08-22T16:58:52.727Z\"\n }\n}", "response_content_type": "application/json", "curl": "curl \"https://www.example.com/api/admin/pricing_skus/2134/prices\" -d '{\"price\":{\"regular\":15}}' -X POST \\\n\t-H \"Content-Type: application/json\"" } ], "resource": "Prices", "description": "Creating a pricing sku price", "route": "/api/admin/pricing_skus/:pricing_sku_id/prices", "http_method": "POST" }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
workarea-api-4.4.7 | doc/api/admin/prices/creating_a_pricing_sku_price.json |