Sha256: 2d78bbd9b8599b0cfedc5017f69718a60c385cda9fd41eaeba5eafe1911982bf
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/\"c0a5bcc786d6b5f92274198be2a695cd\"", "Cache-Control": "no-cache, no-store, must-revalidate", "X-Request-Id": "f22c0baa-61bc-4b5f-be58-a8271f6583bd", "X-Runtime": "0.033964", "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\": \"5d5dbde7d4322a4b69d79934\",\n \"active\": true,\n \"created_at\": \"2019-08-21T21:55:51.340Z\",\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-21T21:55:51.340Z\"\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.6 | doc/api/admin/prices/creating_a_pricing_sku_price.json |