Created
August 19, 2013 15:22
-
-
Save LBRapid/6270339 to your computer and use it in GitHub Desktop.
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": "rlm", | |
| "display": "RLM Endpoint", | |
| "description": "Endpoint that saves order lines locally to be exported into RLM CSV to S3", | |
| "help": "http://guides.spreecommerce.com/integration/endpoints/rlm_endpoint", | |
| "consumers": [ | |
| { | |
| "name": "persist", | |
| "path": "/lines/persist", | |
| "description": "Saves line_items locally to export.", | |
| "requires": { | |
| "parameters": [ | |
| { | |
| "name": "rlm.csv_target_bucket", | |
| "description": "Name of S3 Bucket", | |
| "data_type": "string" | |
| }, | |
| { | |
| "name": "rlm.aws_access_key_id", | |
| "description": "AWS access key id", | |
| "data_type": "string" | |
| }, | |
| { | |
| "name": "rlm.aws_secret_access_key", | |
| "description": "AWS secret access key", | |
| "data_type": "string" | |
| }, | |
| { | |
| "name": "rlm.shipping_map", | |
| "description": "RLM shipping", | |
| "data_type": "list" | |
| }, | |
| { | |
| "name": "rlm.ground_shipping_map", | |
| "description": "RLM ground shipping", | |
| "data_type": "list" | |
| }, | |
| { | |
| "name": "rlm.options_mapping", | |
| "description": "RLM options", | |
| "data_type": "list" | |
| } | |
| ] | |
| }, | |
| "recommends": { | |
| "messages": [ | |
| "order:new", | |
| "order:update" | |
| ], | |
| "identifiers": { | |
| "order_number": "payload.order.number" | |
| }, | |
| "filters": [ | |
| { | |
| "path": "payload.order.status", | |
| "operator": "eq", | |
| "value": "complete" | |
| } | |
| ], | |
| "options": { | |
| "retries_allowed": true | |
| } | |
| } | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment