Creates a service order with the specified parameters. This order can be created by service provider and by client as well. For the service provider direction is `sell`, for the client is `buy`. > [!HINT] Note > To be a service-provider, you must have a **[VPN master node](https://wiki.kelvpn.com/Service/Become+a+KelVPN+Service+Provider)**. `Command syntax:` ```actionscript net_srv order create -net <net_name> -direction {sell | buy} -srv_uid <Service UID> -price <Price> -price_unit <Price Unit> -price_token <token_ticker> -units <units> [-node_addr <Node Address>] [-tx_cond <TX Cond Hash>] [-expires <Unix time when expires>] [-cert <cert name to sign order>] [-region <Region name>] [-continent <Continent name>] ``` `Options:` ```actionscript -net - name of the Cellframe Network. The list of networks can be found in the <Config_dir> \ etc \ network folder or received by The Cellframe-Node-CLI using command - net list -direction {sell | buy} - direction of token exchange: sell - from, buy - to -srv_uid - UID of the service -price - price for the number of units specified in the parameter `-units`, for example, 100 datoshi for 3600 seconds of the service -price_unit - preferable unit of service (`SEC` seconds or `B` bytes) -price_token - ticker of the token -units - number of units in one portion of the service -node_addr - address of the node in the service network (optional) -tx_cond - hash of the conditional transaction (optional) -expires - time of order expiring (optional) -cert - name of the master node certificate which is used to sign order (optional) -region - the region in which the node is located (optional) -continent - the continent in which the node is located (optional) ``` ### CLI Example `Command:` ```actionscript cellframe-node-cli net_srv order create -direction sell -srv_uid 0x0000000000000001 -price 0.000007 -price_unit SEC -price_token tKEL -units 500 -net riemann -cert mastercert ``` `Response:` ```actionscript Created order 0xC4D4A5B737466AE975D66E63B0DEE35EDA53493B1A9BBC58280445158E863734 ``` ### JSON-RPC Example ![[JSON-RPC Request - NET_SRV ORDER CREATE]]