Order Creation

Version v1
download iconDownload spec

Endpoint

POST
https://order-enrichment-eapi.gw.cloud.att.com/api/v1/order

The purpose of this API endpoint is to facilitate the order creation process.

arrowRequest

Header Parameters

            Body Parameters

            Responses

            Success

            arrowBody

            application/json

            REQUEST

            1
            2
            3
            4
            5
            6
            7
            8
            9
            10
            11
            12
            13
            14
            15
            16
            17
            18
            19
            20
            21
            22
            23
            24
            25
            26
            27
            28
            29
            30
            31
            32
            33
            curl --request POST \
                 --url https://order-enrichment-eapi.gw.cloud.att.com/api/v1/order \
                 --header 'accept: application/json' \
                 --header 'content-type: application/json' \
                 --data '
            {
              "quoteID": "string",
              "contacts": {
                "contactDetails": {
                  "primary": {
                    "type": "primary",
                    "firstName": "string",
                    "lastName": "string",
                    "email": "string",
                    "street": "string",
                    "city": "string",
                    "state": "string",
                    "zip": "string"
                  },
                  "alternate": {
                    "type": "alternate",
                    "firstName": "string",
                    "lastName": "string",
                    "email": "string",
                    "street": "string",
                    "city": "string",
                    "state": "string",
                    "zip": "string"
                  }
                }
              }
            }
            '

            RESPONSE

            1
            2
            3
            4
            5
            6
            7
            8
            9
            10
            11
            12
            13
            14
            15
            16
            {
              "orderId": "string",
              "subOrder": [
                {
                  "subOrderId": "string",
                  "subOrderItem": [
                    {
                      "orderItemId": "string",
                      "orderItemType": "string",
                      "status": "string",
                      "statusMessage": "string"
                    }
                  ]
                }
              ]
            }