This file contains hidden or 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
| # | |
| # colorPicker | |
| # | |
| # Allows the user to select a color from available `colors`, and emits the selected color. | |
| # | |
| # Attributes: | |
| # currColor: The currently selected color, as a hex string e.g. '#ffffff' | |
| # colors: An array of available colors, as hex strings | |
| # visible: true | false Show or hide the color selector | |
| # |
This file contains hidden or 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
| { | |
| "statusCode": 400, | |
| "issues": [ | |
| "No value for required field 'design[type]'.", | |
| "No value for required field 'design[sides][0][name]'.", | |
| "No value for required field 'design[sides][0][artwork]'.", | |
| "No value for required field 'address[address]'.", | |
| "No value for required field 'address[city]'.", | |
| "No value for required field 'address[state]'.", | |
| "No value for required field 'address[zip]'." |
This file contains hidden or 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
| { | |
| "statusCode": 400, | |
| "issues": [ | |
| "No value for required field 'design[type]'.", | |
| "No value for required field 'design[sides][front][artwork]'.", | |
| "No value for required field 'address[address]'.", | |
| "No value for required field 'address[city]'.", | |
| "No value for required field 'address[state]'.", | |
| "No value for required field 'address[zip]'." | |
| ], |
This file contains hidden or 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
| { | |
| "items": [ | |
| { | |
| "designId": "53f28871995881c84762e178", | |
| "type": "dtg", | |
| "products": [ | |
| { | |
| "id": "american-apparel-50-50-t-shirt", | |
| "color": "black", | |
| "quantity": "2", |
This file contains hidden or 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
| [ | |
| { | |
| "hex": "000000", | |
| "name": "black" | |
| }, | |
| { | |
| "hex": "8e9089", | |
| "name": "grey" | |
| }, | |
| { |
This file contains hidden or 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
| // Shipment notification. | |
| // 'meta.item' refers to the index in the 'items` array of the order | |
| // | |
| // Multiple shipments may occur for one order 'item' if fulfillment logistics requires it to. | |
| // One shipment may cover multiple order 'items' (in which case multiple webhook requests would be sent with same tracking info but different item indices) | |
| // | |
| // The given 'event' can also be retrieved by looking at the 'events' property of the order itself. | |
| { | |
| "orderId": "54051cb9e4653e7e5b3fbb87", | |
| "event": { |
This file contains hidden or 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
| data = {} | |
| app.get '/hello/:name', (req, res) -> | |
| data[req.param.name] = true |
This file contains hidden or 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
| [ | |
| { | |
| "hex": "000000", | |
| "name": "black" | |
| }, | |
| { | |
| "hex": "8e9089", | |
| "name": "grey" | |
| }, | |
| { |
This file contains hidden or 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
| { | |
| "name": "cancelled", | |
| "description": "Item has been cancelled", | |
| "meta": { | |
| "item": 3728, | |
| "reason": "" | |
| }, | |
| "createdAt": "2014-09-04T21:08:25.401Z" | |
| } |
This file contains hidden or 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
| [ | |
| { | |
| "hex": "000000", | |
| "name": "black", | |
| "rgb": { | |
| "r": 0, | |
| "g": 0, | |
| "b": 0 | |
| } | |
| }, |