Create Order & Sub-Order

Version v1
download iconDownload spec

Endpoint

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

To facilitate the order creation process and accept the terms and conditions- https://www.att.com/legal/terms.consumerServiceAgreement.html

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
            34
            35
            36
            37
            38
            39
            curl --request POST \
                 --url https://att-order-eapi.gw.cloud.att.com/api/v1/order \
                 --header 'accept: application/json' \
                 --header 'client_id: string' \
                 --header 'client_secret: string' \
                 --header 'content-type: application/json' \
                 --header 'source: string' \
                 --header 'x-trace-id: string' \
                 --header 'x-transaction-id: string' \
                 --data '
            {
              "quoteId": "0Q0Kf000000xjXgKAI",
              "checkT&C": true,
              "contacts": {
                "contactDetails": {
                  "primary": {
                    "zip": "95350",
                    "type": "primary",
                    "city": "Modesto",
                    "email": "alpha@tes.com",
                    "state": "CA",
                    "street": "3430 Tully Rd",
                    "lastName": "N",
                    "firstName": "Sha"
                  },
                  "alternate": {
                    "zip": "55402",
                    "type": "alternate",
                    "city": "Minneapolis",
                    "email": "lrachel@gmail.com",
                    "state": "MN",
                    "street": "901 Marquette Ave STE 700",
                    "lastName": "Deep",
                    "firstName": "Vikas"
                  }
                }
              }
            }
            '

            RESPONSE

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