Order

Add order

Use this BillingServ API endpoint to add order. Review the response for the operation result or validation errors.

post/order/add-order

Headers

Idempotency-Keystring

Optional key for POST /customer/create, POST /invoice/create-quote, POST /invoice/create-invoice, POST /invoice/update-invoice, and POST /order/add-order. Reusing the same key with the same request replays a successful response for 24 hours; reusing it with a different request returns 409.

Request body

customer_idinteger required
package_idinteger required
cycle_idinteger required
pricenumber required

Response

OK

successboolean

Changes

Changed in 1 of the 6 revisions of this API.411

  • 6b9208b64456411See the full diff
    • removed the request property options.amount

      request-property-removed

    • removed the request property options.cycle_type

      request-property-removed

    • removed the request property options.id

      request-property-removed

    • removed the request property options.value

      request-property-removed

    • added the new optional header request parameter Idempotency-Key

      new-optional-request-parameter

    • added the new optional request property options

      new-optional-request-property

    • added the non-success response with the status 404

      response-non-success-status-added

    • added the non-success response with the status 409

      response-non-success-status-added

    • added the non-success response with the status 500

      response-non-success-status-added

    • added the optional property code to the response with the 401 status

      response-optional-property-added

    • added the optional property code to the response with the 403 status

      response-optional-property-added

    • added the optional property code to the response with the 422 status

      response-optional-property-added

    • added the optional property request_id to the response with the 401 status

      response-optional-property-added

    • added the optional property request_id to the response with the 403 status

      response-optional-property-added

    • added the optional property request_id to the response with the 422 status

      response-optional-property-added