Store Order
Version 1.0.0
Endpoint
POST
https://serverRoot/api/orderingMobility/v1/storeOrder
Copy
Store Order requests that can be performed are: New, Upgrade, COAM, LNP, Accessory Only, Upgrade Device Only.
Header Parameters
- Content-LengthintNumber of bytes in the Request body.
- AcceptstringRequiredSpecifies the media type as "application/json".
- X-ATT-ConversationIdstringRequiredUnique ID to identify the Conversation.
- X-ATT-MessageIdstringRequiredUnique ID to identify the Request.
- X-ATT-ClientIdstringClient ID used to generate the OAuth bearer token.
Body Parameters
- object
- storeOrderRequestobjectRequired
Responses
Accepted
Body
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212curl --request POST \
--url https://serverroot/api/orderingMobility/v1/storeOrder \
--header 'Accept: string' \
--header 'Content-Length: integer' \
--header 'X-ATT-ClientId: string' \
--header 'X-ATT-ConversationId: string' \
--header 'X-ATT-MessageId: string' \
--header 'content-type: application/json' \
--data '
{
"storeOrderRequest": {
"accountGroupId": "a98765432109",
"federalTaxId": "12-3456789",
"groupControlNumber": "1122334455",
"poNumber": "PO-12345",
"oneTimePaymentOption": "Bill",
"recurringPaymentOption": "Bill",
"installmentAgreementAcceptance": true,
"consentToRecurringCharges": true,
"linesOfService": [
{
"billingAccountNumber": "123454329",
"coamIMEI": "123456789012345",
"coamICCID": "89012345678901234567",
"ctn": "2234567890",
"foundationAccountNumber": "00345678",
"installmentPlanId": "EIP36",
"lineOfServiceId": "1",
"lnpDetail": {
"phone": {
"number": "1234567890"
},
"address": {
"city": "Dallas",
"state": "TX",
"zipCode": "75201",
"addressLine1": "123 Main St",
"addressLine2": "Suite 400"
},
"passwordPin": "1231",
"contactName": {
"lastName": "Bell",
"firstName": "Alex",
"middleName": "Graham"
},
"numberToPort": "2125551212",
"accountNumber": "123123456",
"accountHolder": {
"taxId": "23-4567890",
"businessAccount": {
"name": "Newco Inc",
"authorizer": "Amy Hill"
}
}
},
"mobileSharePlan": {
"isPrimary": false,
"primaryLineId": "13579",
"existingGroupId": "24680"
},
"npaPreferredAreaCode": "617",
"npaServiceAreaName": "Boston Metro Area",
"npaServiceArea": "Boston",
"optInForTradeIn": true,
"productInfo": {
"network": "FirstNet",
"simType": "eSim",
"alacarte": {
"pdpSku": [
{
"skuId": "sku284763524",
"finalAmount": "79.95"
}
],
"addonSku": {
"skuId": "sku284763524",
"finalAmount": "79.95"
},
"deviceSku": {
"skuId": "sku284763524",
"finalAmount": "79.95",
"installmentPlan": {
"installmentPlanId": "EIP24",
"contractType": "EIP",
"contractTermLength": "24",
"downPayment": "333.33"
}
},
"featureSku": [
{
"skuId": "sku284763524",
"finalAmount": "79.95"
}
],
"ratePlanSku": {
"skuId": "sku1234567890",
"finalAmount": "70.00"
},
"accessorySku": [
{
"skuId": "sku284763524",
"quantity": 1,
"finalAmount": "79.95"
}
]
}
},
"serviceZipCode": "75201",
"subscriber": {
"phone": {
"number": "1234567890",
"extension": "1885"
},
"email": "alexbell@att.com",
"address": {
"city": "Dallas",
"state": "TX",
"zipCode": "75201",
"addressLine1": "123 Main St",
"addressLine2": "Suite 400"
},
"contactName": {
"lastName": "Bell",
"firstName": "Alex"
},
"attentionTo": "Jay Watson"
},
"subLevelIdentifier": "EMS",
"type": "New",
"udl": [
{
"type": "User Name",
"value": "Laura Madison"
}
],
"upgradeWaiverEligible": false
}
],
"billing": {
"phone": {
"number": "1234567890"
},
"address": {
"addressLine1": "123 Main St",
"addressLine2": "Suite 400",
"city": "Dallas",
"state": "TX",
"zipCode": "75201"
},
"contactName": {
"lastName": "Bell",
"firstName": "Alex"
},
"attentionTo": "Jay Watson",
"addressIndicator": false
},
"creditCardDetail": [
{
"address": {
"city": "Dallas",
"state": "TX",
"zipCode": "75201",
"addressLine1": "123 Main St",
"addressLine2": "Suite 400"
},
"consent": {
"tncId": 0,
"tncKey": "string"
},
"creditCard": {
"type": "Visa",
"number": "1234567812345678",
"securityCode": "752",
"expirationYear": "2030",
"expirationMonth": "01"
},
"contactName": {
"lastName": "Bell",
"firstName": "Alex",
"middleInitial": "G"
},
"paymentType": "ONETIME",
"prepopCreditCardIndicator": false
}
],
"orderContact": {
"phone": {
"number": "1234567890",
"extension": "1885"
},
"email": "abell@att.com",
"contactName": {
"lastName": "Bell",
"firstName": "Alex"
}
},
"shipping": {
"address": {
"city": "Dallas",
"state": "TX",
"zipCode": "75201",
"addressLine1": "123 Main St",
"addressLine2": "Suite 400"
},
"carrier": "FedEx",
"attentionTo": "Jay Watson",
"shippingMethod": "FedExGround",
"addressIndicator": false
}
}
}
'