Skip to content

Commit b987aa0

Browse files
authored
adjusting document formatting
1 parent 80b1232 commit b987aa0

File tree

1 file changed

+19
-17
lines changed

1 file changed

+19
-17
lines changed

docs/storefront/graphql/b2b/company-account-registration.mdx

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ You may also need to include extra fields for Company accounts, Company users, a
3939

4040
<Tabs items={[`Request`, `Response`]}>
4141
<Tab>
42+
4243
```graphql filename="Example mutation: Register a Company account" showLineNumbers copy
4344
mutation {
4445
company {
@@ -123,6 +124,7 @@ You may also need to include extra fields for Company accounts, Company users, a
123124
```
124125
</Tab>
125126
<Tab>
127+
126128
```json filename="Example mutation: Register a customer" showLineNumbers copy
127129
# Success
128130

@@ -141,25 +143,25 @@ You may also need to include extra fields for Company accounts, Company users, a
141143

142144
# Error - Customer not authenticated
143145

144-
{
145-
"data": {
146-
"company": {
147-
"registerCompany": {
148-
"entityId": null,
149-
"status": null,
150-
"errors": [
151-
{
152-
"__typename": "ValidationError",
153-
"message": "Customer not authenticated",
154-
"path": [
155-
"input"
156-
]
157-
}
158-
]
146+
{
147+
"data": {
148+
"company": {
149+
"registerCompany": {
150+
"entityId": null,
151+
"status": null,
152+
"errors": [
153+
{
154+
"__typename": "ValidationError",
155+
"message": "Customer not authenticated",
156+
"path": [
157+
"input"
158+
]
159+
}
160+
]
161+
}
159162
}
160163
}
161164
}
162-
}
163165
```
164166
</Tab>
165167
</Tabs>
@@ -204,6 +206,6 @@ After making a successful request, the newly-created Company is assigned the Pen
204206
* [GraphQL Storefront API reference](/graphql-storefront/reference)
205207
* [GraphQL Storefront Playground](/graphql-storefront/playground)
206208

207-
### Community
209+
### Community
208210

209211
* [Developer community](/community)

0 commit comments

Comments
 (0)