Orders

From Hostway API Documentation
(Difference between revisions)
Jump to: navigation, search
m (1 revision)
m (1 revision: Release 110)
 
(22 intermediate revisions by 11 users not shown)
Line 15: Line 15:
 
An URL shortcut allowing the user to access the currently open order without specifying the order ID.
 
An URL shortcut allowing the user to access the currently open order without specifying the order ID.
 
* [[Order Shorthand]]
 
* [[Order Shorthand]]
 +
 +
== Order Attributes ==
 +
Custom attributes for an Order.
 +
* [[Orders-orderId-attributes:PUT|PUT /orders/{orderId}/attributes]] - Sets order attributes
 +
* [[Orders-orderId-attributes:GET|GET /orders/{orderId}/attributes]] - Returns order attributes
  
 
== Account ==
 
== Account ==
Line 49: Line 54:
 
* [[Orders-orderId-account-products:GET|GET /orders/{orderId}/account/products]] - Gets all products
 
* [[Orders-orderId-account-products:GET|GET /orders/{orderId}/account/products]] - Gets all products
 
* [[Orders-orderId-account-products-productId:GET|GET /orders/{orderId}/account/products/{productId}]] - Gets the product details
 
* [[Orders-orderId-account-products-productId:GET|GET /orders/{orderId}/account/products/{productId}]] - Gets the product details
 +
* [[Orders-orderId-account-products-productId:PUT|PUT /orders/{orderId}/account/products/{productId}]] - Updates product details
 
* [[Orders-orderId-account-products-productId:DELETE|DELETE /orders/{orderId}/account/products/{productId}]] - Removes product from the order
 
* [[Orders-orderId-account-products-productId:DELETE|DELETE /orders/{orderId}/account/products/{productId}]] - Removes product from the order
  
Line 56: Line 62:
 
* [[Orders-orderId-account-products-productId-services:GET|GET /orders/{orderId}/account/products/{productId}/services]] - Gets all services for a product
 
* [[Orders-orderId-account-products-productId-services:GET|GET /orders/{orderId}/account/products/{productId}/services]] - Gets all services for a product
 
* [[Orders-orderId-account-products-productId-services-serviceId:GET|GET /orders/{orderId}/account/products/{productId}/services/{serviceId}]] - Gets service details
 
* [[Orders-orderId-account-products-productId-services-serviceId:GET|GET /orders/{orderId}/account/products/{productId}/services/{serviceId}]] - Gets service details
 +
* [[Orders-orderId-account-products-productId-services-serviceId:PUT|PUT /orders/{orderId}/account/products/{productId}/services/{serviceId}]] - Updates service details
 
* [[Orders-orderId-account-products-productId-services-serviceId:DELETE|DELETE /orders/{orderId}/account/products/{productId}/services/{serviceId}]] - Removes service from a product
 
* [[Orders-orderId-account-products-productId-services-serviceId:DELETE|DELETE /orders/{orderId}/account/products/{productId}/services/{serviceId}]] - Removes service from a product
  
Line 63: Line 70:
 
* [[Orders-orderId-account-products-productId-services-serviceId-attributes:GET|GET /orders/{orderId}/account/products/{productId}/services/{serviceId}/attributes]] - Gets service attributes
 
* [[Orders-orderId-account-products-productId-services-serviceId-attributes:GET|GET /orders/{orderId}/account/products/{productId}/services/{serviceId}/attributes]] - Gets service attributes
 
* [[Orders-orderId-account-products-productId-services-serviceId-attributes:OPTIONS|OPTIONS /orders/{orderId}/account/products/{productId}/services/{serviceId}/attributes]] - Returns information about supported attributes
 
* [[Orders-orderId-account-products-productId-services-serviceId-attributes:OPTIONS|OPTIONS /orders/{orderId}/account/products/{productId}/services/{serviceId}/attributes]] - Returns information about supported attributes
 +
* [[ServiceAttributesStructure|Service Attributes Structure]] - Structure of attributes set supported by Hostway API
 +
 +
== Service Notes ==
 +
Notes for services.
 +
* [[Orders-orderId-account-products-productId-services-serviceId-notes:POST|POST /orders/{orderId}/account/products/{productId}/services/{serviceId}/notes]] - Adds a service note
 +
* [[Orders-orderId-account-products-productId-services-serviceId-notes:PUT|PUT /orders/{orderId}/account/products/{productId}/services/{serviceId}/notes]] - Updates the service notes
 +
* [[Orders-orderId-account-products-productId-services-serviceId-notes:GET|GET /orders/{orderId}/account/products/{productId}/services/{serviceId}/notes]] - Gets all the service notes
 +
* [[Orders-orderId-account-products-productId-services-serviceId-notes:DELETE|DELETE /orders/{orderId}/account/products/{productId}/services/{serviceId}/notes]] - Deletes the service notes
 +
* [[Orders-orderId-account-products-productId-services-serviceId-notes:OPTIONS|OPTIONS /orders/{orderId}/account/products/{productId}/services/{serviceId}/notes]] - Returns information about supported attributes
 +
 +
== Promotion Codes ==
 +
Describes handling of promotion codes.
 +
 +
=== Product Promotion Codes ===
 +
* [[Orders-orderId-account-products-productId-promotion:PUT|PUT /orders/{orderId}/account/products/{productId}/promotion]] - Add or update promotion code for a product.
 +
* [[Orders-orderId-account-products-productId-promotion:DELETE|DELETE /orders/{orderId}/account/products/{productId}/promotion]] - Removes the promotion code for a product.
 +
 +
=== Service Promotion Codes ===
 +
* [[Orders-orderId-account-products-productId-services-serviceId-promotion:PUT|PUT /orders/{orderId}/account/products/{productId}/services/{serviceId}/promotion]] - Add or update promotion code for a service.
 +
* [[Orders-orderId-account-products-productId-services-serviceId-promotion:DELETE|DELETE /orders/{orderId}/account/products/{productId}/services/{serviceId}/promotion]] - Removes the promotion code for a service.
  
 
== Custom Discounts ==
 
== Custom Discounts ==
Custom discounts at the order, product and service levels. Only accessible by sales agents.
+
Custom discounts at the order, product and service levels. Managing discounts requires elevated permissions.
* [[PUT Order Discount]]
+
 
* [[GET Order Discount]]
+
=== Order Discounts ===
* [[DELETE Order Discount]]
+
* [[Orders-orderId-discounts:PUT|PUT /orders/{orderId}/discounts]] - Adds order discounts
* [[PUT Product Discount]]
+
* [[Orders-orderId-discounts:GET|GET /orders/{orderId}/discounts]] - Returns all order discounts
* [[GET Product Discount]]
+
* [[Orders-orderId-discounts:DELETE|DELETE /orders/{orderId}/discounts]] - Removes all order discounts
* [[DELETE Product Discount]]
+
 
* [[PUT Service Discount]]
+
=== Product Discounts ===
* [[GET Service Discount]]
+
* [[Orders-orderId-account-products-productId-discounts:PUT|PUT /orders/{orderId}/account/products/{productId}/discounts]] - Adds product discounts
* [[DELETE Service Discount]]
+
* [[Orders-orderId-account-products-productId-discounts:GET|GET /orders/{orderId}/account/products/{productId}/discounts]] - Returns all product discounts
 +
* [[Orders-orderId-account-products-productId-discounts:DELETE|DELETE /orders/{orderId}/account/products/{productId}/discounts]] - Removes all product discounts
 +
 
 +
=== Service Discounts ===
 +
* [[Orders-orderId-account-products-productId-services-serviceId-discounts:PUT|PUT /orders/{orderId}/account/products/{productId}/services/{serviceId}/discounts]] - Adds service discounts
 +
* [[Orders-orderId-account-products-productId-services-serviceId-discounts:GET|GET /orders/{orderId}/account/products/{productId}/services/{serviceId}/discounts]] - Returns all service discounts
 +
* [[Orders-orderId-account-products-productId-services-serviceId-discounts:DELETE|DELETE /orders/{orderId}/account/products/{productId}/services/{serviceId}/discounts]] - Removes all service discounts
  
 
== Order Quote ==
 
== Order Quote ==
Line 82: Line 115:
 
== See also ==
 
== See also ==
 
* [[Common Features]]
 
* [[Common Features]]
 +
 +
= Order Flow Examples =
 +
== Order Account Associations ==
 +
* [[Order-Products-Account|Order Products Account]] - Example order flow with adding initially products and than account
 +
* [[Order-Products-Account-Modify|Order Products Account Modify]] - Example order flow with adding initially products than account and modify it later
 +
 +
== Email Products ==
 +
* [[Order-Email-Domain|Order Email Domain]] - Example order flow for purchasing an email domain
 +
* [[Order-Domain-Alias|Order Domain Alias]] - Example order flow for purchasing an email domain alias
 +
 +
== Microsoft Exchange Products ==
 +
* [[Order-Exchange|Order Exchange domain]] - Example order flow for purchasing exchange domain
 +
* [[Order-Exchange-mailbox-free|Order Free Exchange Mailbox]]
 +
* [[Order-Exchange-mailbox-paid|Order Paid Exchange Mailbox]]
 +
* [[Order-Exchange-otherproduct|Ordering Other Exchange Products]] - Example order flow that applies to Exchange email encryption, archiving, mailing list and blackberry products
 +
 +
== Cloud Products ==
 +
* [[Order-cloud-drive|Order Cloud Drive]] - Example order flow for purchasing a Cloud Drive
 +
* [[Order-cloud-backup|Order Cloud Backup]] - Example order flow for purchasing a Cloud Backup
 +
 +
== WebsPlanet Products ==
 +
* [[Order-webs-planet|WebsPlanet]] - Example order flow for purchasing a WebsPlanet
 +
 +
== VPS Virtuozzo Products ==
 +
* [[Order-vps-virtuozzo|VpsVirtuozzo]] - Example order flow for purchasing VPS Virtuozzo products and services
 +
 +
== Domain Registration Products ==
 +
* [[Order-Domain|Order Domain]] - Example order flow for purchasing a domain
 +
* [[Order-Domain-Shortcut|Order Domain Shortcut]] - Example order flow for purchasing a domain by using the domain shortcut
 +
  
 
{{disqus}}
 
{{disqus}}
 
[[Category:Hostway API]]
 
[[Category:Hostway API]]
 
[[Category:Ordering API]]
 
[[Category:Ordering API]]

Latest revision as of 10:52, 20 August 2015

[edit] Ordering API

The ordering API supports the operations of creating, building and placing orders. The orders are the main method of creating new accounts and adding and managing the products for an account.

Contents

download this selection of articles as a PDF book

[edit] Orders

Order management resources.

[edit] Order Shorthand

An URL shortcut allowing the user to access the currently open order without specifying the order ID.

[edit] Order Attributes

Custom attributes for an Order.

[edit] Account

Customer information in a given order. Only one account is allowed per order.

[edit] Account Attributes

Custom attributes for an Account in a given Order.

[edit] Account Contact Info

Various types of Contact Info set for an Account in a given Order.

[edit] Account Payment Information

Payment method information for an Account in a given Order. An account cannot have multiple payment methods.

[edit] Account User

User information for an Account in a given Order.

[edit] Products

Products included in the order.

[edit] Services

Services included in the products.

[edit] Service Attributes

Attributed for the included services.

[edit] Service Notes

Notes for services.

[edit] Promotion Codes

Describes handling of promotion codes.

[edit] Product Promotion Codes

[edit] Service Promotion Codes

[edit] Custom Discounts

Custom discounts at the order, product and service levels. Managing discounts requires elevated permissions.

[edit] Order Discounts

[edit] Product Discounts

[edit] Service Discounts

[edit] Order Quote

Quote information for a given order.

[edit] See also

[edit] Order Flow Examples

[edit] Order Account Associations

[edit] Email Products

[edit] Microsoft Exchange Products

[edit] Cloud Products

[edit] WebsPlanet Products

  • WebsPlanet - Example order flow for purchasing a WebsPlanet

[edit] VPS Virtuozzo Products

  • VpsVirtuozzo - Example order flow for purchasing VPS Virtuozzo products and services

[edit] Domain Registration Products



blog comments powered by Disqus

Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox