Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 1cf9d68

Browse files
authored
Merge branch 'master' into DOC-119-Security-Best-Practices
2 parents 4b5d7eb + f46b40d commit 1cf9d68

File tree

3 files changed

+19
-10
lines changed

3 files changed

+19
-10
lines changed

src/_includes/graphql/customer-payment-tokens.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The `CustomerPaymentTokens` output object contains an array of `items`.
44

55
Attribute | Data Type | Description
66
--- | --- | ---
7-
`items` | [PaymentToken] | Contains an array of customer payment tokens
7+
`items` | [PaymentToken]! | Contains an array of customer payment tokens
88

99
### PaymentToken attributes
1010

@@ -13,6 +13,6 @@ The `PaymentToken` object defines characteristics of a token stored in the payme
1313
Attribute | Data Type | Description
1414
--- | --- | ---
1515
`details` | String | Stored account details
16-
`payment_method_code` | String | The payment method code associated with the token
17-
`public_hash` | String | The public hash of the token generated by the vault provider
18-
`type` | `PaymentTokenTypeEnum` | `card` or `account`
16+
`payment_method_code` | String! | The payment method code associated with the token
17+
`public_hash` | String! | The public hash of the token generated by the vault provider
18+
`type` | `PaymentTokenTypeEnum!` | `card` or `account`

src/guides/v2.3/graphql/mutations/delete-payment-token.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@ mutation {
5858
}
5959
}
6060
```
61+
## Input attributes
62+
63+
The `deletePaymentToken` object must contain the following attributes.
64+
65+
Attribute | Data Type | Description
66+
--- | --- | ---
67+
`public_hash` | `String!` | The public hash of the token
6168

6269
## Output attributes
6370

@@ -70,7 +77,7 @@ The `DeletePaymentTokenOutput` object returns the result of the operation and de
7077
Attribute | Data Type | Description
7178
--- | --- | ---
7279
`customerPaymentTokens` | `CustomerPaymentTokens` | Contains an array of customer payment tokens
73-
`result` | Boolean | A value of `true` indicates the request was successful
80+
`result` | Boolean! | A value of `true` indicates the request was successful
7481

7582
{% include graphql/customer-payment-tokens.md %}
7683

src/guides/v2.3/graphql/queries/url-resolver.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ The following query returns information about the URL containing `joust-duffle-b
2626
urlResolver(url: "joust-duffle-bag.html") {
2727
id
2828
relative_url
29+
redirectCode
2930
type
3031
}
3132
}
@@ -39,6 +40,7 @@ The following query returns information about the URL containing `joust-duffle-b
3940
"urlResolver": {
4041
"id": 1,
4142
"relative_url": "catalog/product/view/id/1",
43+
"redirectCode": 0,
4244
"type": "PRODUCT"
4345
}
4446
}
@@ -59,11 +61,11 @@ The `EntityUrl` output object contains the `id`, `relative_url`, and `type` attr
5961

6062
Attribute | Data Type | Description
6163
--- | --- | ---
62-
`canonical_url` | String | Deprecated. Use `relative_url` instead.
63-
`id` | Int | The ID assigned to the object associated with the specified `url`. This could be a product ID, category ID, or page ID.
64-
`relative_url` | String | The internal relative URL. If the specified `url` is a redirect, the query returns the redirected URL, not the original.
65-
`type` | UrlRewriteEntityTypeEnum | The value of `UrlRewriteEntityTypeEnum` is one of PRODUCT, CATEGORY, or CMS_PAGE.
66-
`url` | String | The URL to resolve. Magento stores product and category URLs with the `.html` extension. CMS URLs do not contain the extension.
64+
`canonical_url` | String | Deprecated. Use `relative_url` instead
65+
`id` | Int | The ID assigned to the object associated with the specified `url`. This could be a product ID, category ID, or page ID
66+
`redirectCode` | Int | Contains 0 when there is no redirect error. A value of 301 indicates the URL of the requested resource has been changed permanently, while a value of 302 indicates a temporary redirect
67+
`relative_url` | String | The internal relative URL. If the specified `url` is a redirect, the query returns the redirected URL, not the original
68+
`type` | UrlRewriteEntityTypeEnum | The value of `UrlRewriteEntityTypeEnum` is one of PRODUCT, CATEGORY, or CMS_PAGE
6769

6870
## Related topics
6971

0 commit comments

Comments
 (0)