|
| 1 | +## hostinger reach integrations connect-ecommerce-store |
| 2 | + |
| 3 | +Connect Ecommerce store |
| 4 | + |
| 5 | +### Synopsis |
| 6 | + |
| 7 | +Connect one of the customer's eCommerce stores to the profile, so Reach receives its |
| 8 | +customers and orders. |
| 9 | + |
| 10 | +Take `store_id` from the list eCommerce stores endpoint. Fails with not found |
| 11 | +(`ECOMMERCE_STORE_NOT_FOUND`) when the store is not one of the customer's own stores, also |
| 12 | +when the eCommerce service cannot be reached. Fails with a conflict |
| 13 | +(`ECOMMERCE_CONNECTION_ALREADY_EXISTS`) when the store is connected to any profile or this |
| 14 | +profile already has a store - to move a store to another plan, disconnect it from the |
| 15 | +profile that holds it first. |
| 16 | + |
| 17 | +``` |
| 18 | +hostinger reach integrations connect-ecommerce-store <profile-uuid> <store-id> [flags] |
| 19 | +``` |
| 20 | + |
| 21 | +### Examples |
| 22 | + |
| 23 | +``` |
| 24 | + hostinger reach integrations connect-ecommerce-store 550e8400-e09b-41d4-a716-400055000000 ec_123 |
| 25 | +``` |
| 26 | + |
| 27 | +### Options |
| 28 | + |
| 29 | +``` |
| 30 | + -h, --help help for connect-ecommerce-store |
| 31 | +``` |
| 32 | + |
| 33 | +### Options inherited from parent commands |
| 34 | + |
| 35 | +``` |
| 36 | + --config string Config file (default is $HOME/.hostinger.yaml) |
| 37 | + --domain string Website domain for commands that act on a website (default: HOSTINGER_DOMAIN, .hostinger/site.json, or default_domain in the config) |
| 38 | + --dry-run Print the request as a curl command instead of sending it |
| 39 | + -o, --format string Output format: table|json|yaml|tree (default: table on a terminal, json when piped) |
| 40 | + --jq string Filter the JSON response with a jq expression, e.g. '.data[].id' |
| 41 | + --no-input Never prompt; fail when an argument, flag or confirmation is missing |
| 42 | + --order-id string Order for commands that act on an order (default: HOSTINGER_ORDER_ID, .hostinger/site.json for hosting, or a prompt) |
| 43 | + --username string Hosting account for commands that act on an account (default: HOSTINGER_USERNAME, the website from --domain, or .hostinger/site.json) |
| 44 | + --verbose Print the config file used and each HTTP request to stderr |
| 45 | +``` |
| 46 | + |
| 47 | +### SEE ALSO |
| 48 | + |
| 49 | +* [hostinger reach integrations](hostinger_reach_integrations.md) - Integrations commands |
| 50 | + |
0 commit comments