Skip to content

Commit

Permalink
fixing include files
Browse files Browse the repository at this point in the history
  • Loading branch information
erikmarr committed Aug 23, 2019
1 parent b65765c commit 3155213
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 32 deletions.
8 changes: 6 additions & 2 deletions _includes/graphql/customer-address-input.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### CustomerAddress input {#customerAddressInput}

The `CustomerAddress` input can contain the following attributes:

Attribute | Data Type | Description
--- | --- | ---
`city` | String | The city or town
Expand All @@ -24,7 +28,7 @@ Attribute | Data Type | Description

### CustomerAddressAttribute input {#customerAddressAttributeInput}

The `CustomerAddressAttributeInput` object can contain the following attributes:
The `CustomerAddressAttribute` input can contain the following attributes:

Attribute | Data Type | Description
--- | --- | ---
Expand All @@ -33,7 +37,7 @@ Attribute | Data Type | Description

### CustomerAddressRegion input {#customerAddressRegionInput}

The `customerAddressRegionInput` object can contain the following attributes:
The `customerAddressRegion` input can contain the following attributes:

Attribute | Data Type | Description
--- | --- | ---
Expand Down
14 changes: 10 additions & 4 deletions _includes/graphql/customer-address-output.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
### CustomerAddress output {#customerAddressOutput}

The values assigned to attributes such as `firstname` and `lastname` in this object may be different from those defined in the `Customer` object.

The `CustomerAddress` output returns the following attributes:

Attribute | Data Type | Description
--- | --- | ---
`city` | String | The city or town
`company` | String | The customer's company
`country_id` | String | The customer's country
`custom_attributes` | [CustomerAddressAttribute](#CustomerAddressAttributeOutput) | Address custom attributes
`custom_attributes` | [CustomerAddressAttribute](#customerAddressAttributeOutput) | Address custom attributes
`customer_id` | Int | The customer ID
`default_billing` | Boolean | Indicates whether the address is the default billing address
`default_shipping` | Boolean | Indicates whether the address is the default shipping address
`extension_attributes` | [CustomerAddressAttribute](#CustomerAddressAttributeOutput) | Address extension attributes
`extension_attributes` | [CustomerAddressAttribute](#customerAddressAttributeOutput) | Address extension attributes
`fax` | String | The fax number
`firstname` | String | The first name of the person associated with the shipping/billing address
`id` | Int | The ID assigned to the address object
Expand All @@ -24,7 +30,7 @@ Attribute | Data Type | Description

### CustomerAddressAttribute output {#customerAddressAttributeOutput}

The `CustomerAddressAttributeOutput` object returns the following attributes:
The `CustomerAddressAttribute` output returns the following attributes:

Attribute | Data Type | Description
--- | --- | ---
Expand All @@ -33,7 +39,7 @@ Attribute | Data Type | Description

### CustomerAddressRegion output {#customerAddressRegionOutput}

The `customerAddressRegionOutput` object returns the following attributes:
The `customerAddressRegion` output returns the following attributes:

Attribute | Data Type | Description
--- | --- | ---
Expand Down
4 changes: 3 additions & 1 deletion _includes/graphql/customer-input.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Attribute | Data Type | Description
--- | --- | ---
`addresses` | [CustomerAddress](#customerAddress) | An array containing the customer's shipping and billing addresses
`addresses` | [CustomerAddress](#customerAddressInput) | An array containing the customer's shipping and billing addresses
`created_at` | String | Timestamp indicating when the account was created
`default_billing` | String | The ID assigned to the billing address
`default_shipping` | String | The ID assigned to the shipping address
Expand All @@ -16,3 +16,5 @@ Attribute | Data Type | Description
`prefix` | String | An honorific, such as Dr., Mr., or Mrs.
`suffix` | String | A value such as Sr., Jr., or III
`taxvat` | String | The customer's Tax/VAT number (for corporate customers)

{% include graphql/customer-address-input.md %}
4 changes: 3 additions & 1 deletion _includes/graphql/customer-output.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Attribute | Data Type | Description
--- | --- | ---
`addresses` | [CustomerAddress](#customerAddress) | An array containing the customer's shipping and billing addresses
`addresses` | [CustomerAddress](#customerAddressOutput) | An array containing the customer's shipping and billing addresses
`created_at` | String | Timestamp indicating when the account was created
`default_billing` | String | The ID assigned to the billing address
`default_shipping` | String | The ID assigned to the shipping address
Expand All @@ -16,3 +16,5 @@ Attribute | Data Type | Description
`prefix` | String | An honorific, such as Dr., Mr., or Mrs.
`suffix` | String | A value such as Sr., Jr., or III
`taxvat` | String | The customer's Tax/VAT number (for corporate customers)

{% include graphql/customer-address-output.md %}
2 changes: 0 additions & 2 deletions guides/v2.3/graphql/mutations/create-customer-address.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ Attribute | Data Type | Description
`id` | Int | The ID assigned to the address object
`CustomerAddressInput` | [CustomerAddress](#customerAddressInput) | An array containing the customer’s shipping and billing addresses

### Customer address input attributes {#customerAddressInput}

{% include graphql/customer-address-input.md %}

## Output attributes
Expand Down
4 changes: 0 additions & 4 deletions guides/v2.3/graphql/mutations/update-customer-address.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,6 @@ Attribute | Data Type | Description
`id` | Int! | The ID assigned to the address object
`CustomerAddressInput` | [CustomerAddress](#customerAddressInput)| An array containing the customer’s shipping and billing addresses

### CustomerAddressInput {#customerAddressInput}

The `CustomerAddressInput` object can contain the following attributes:

{% include graphql/customer-address-input.md %}

## Output attributes
Expand Down
18 changes: 0 additions & 18 deletions guides/v2.3/graphql/queries/customer.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,24 +197,6 @@ The `customer` object can contain the following attributes:

{% include graphql/customer-output.md %}

### Customer address attributes {#customerAddress}

The values assigned to attributes such as `firstname` and `lastname` in this object may be different from those defined in the `Customer` object.

{% include graphql/customer-address-attribute-output.md %}

### Customer address region attributes {#customerAddressRegion}

The `CustomerAddressRegion` object can contain the following attributes:

{% include graphql/customer-address-region-output.md %}

### Customer address attribute {#CustomerAddressAttribute}

The `CustomerAddressAttribute` object consists of:

{% include graphql/customer-address-attribute-output.md %}

### Store credit attributes

In {{site.data.var.ee}}, the merchant can assign store credit to customers. Magento maintains the history of all changes to the balance of store credit available to the customer. The customer must be logged in to access the store credit history and balance.
Expand Down

0 comments on commit 3155213

Please sign in to comment.