> For the complete documentation index, see [llms.txt](https://tech.x2bee.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tech.x2bee.com/api/api-en/store-front-api-reference/member-api/member-common.md).

# Member Common

## Retrieve APP PUSH Consent Status

> \## Function Description\
> \* Retrieves the member's APP PUSH consent status.\
> \---\
> \## Detailed Description\
> \* Retrieves the customer's mobile-only APP PUSH consent status.\
> \---\
> \## Notes\
> \* This is a mobile app-only API and is not used on the web.<br>

```json
{"openapi":"3.1.0","info":{"title":"X2BEE Member API","version":"v1"},"servers":[{"url":"https://api-member.x2bee.com/api/member/","description":"prd"}],"paths":{"/v1/member/memberPushInfo":{"post":{"tags":["Member Common"],"summary":"Retrieve APP PUSH Consent Status","description":"## Function Description\n* Retrieves the member's APP PUSH consent status.\n---\n## Detailed Description\n* Retrieves the customer's mobile-only APP PUSH consent status.\n---\n## Notes\n* This is a mobile app-only API and is not used on the web.\n","operationId":"getMemberPushAgrYn","parameters":[{"name":"userDetail","in":"query","description":"Member Information","required":true,"schema":{"type":"string","description":"UserDetail"}},{"name":"Authorization","in":"header","description":"Access Token","required":false}],"responses":{"200":{"description":"Success","content":{"*/*":{"schema":{"type":"string"}}}},"900":{"description":"Business processing error details","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}}}
```

## Modify APP PUSH Consent Status

> \## Function Description\
> \* Changes the member's APP PUSH consent status.\
> \---\
> \## Detailed Description\
> \* Changes the customer's mobile-only APP PUSH consent status.\
> \---\
> \## Notes\
> \* This is a mobile app-only API and is not used on the web.\
> \* The appPushAgrYn field only accepts Y or N values.\
> \---\
> \## Revision History\
> \* Release v1.05\_231204: Added coupon issuance upon first APP PUSH consent\
> &#x20;  \* When the appPushAgrYn field value is Y and the member's app push consent coupon payment status is 'N', a coupon is issued.<br>

```json
{"openapi":"3.1.0","info":{"title":"X2BEE Member API","version":"v1"},"servers":[{"url":"https://api-member.x2bee.com/api/member/","description":"prd"}],"paths":{"/v1/member/memberPushInfo":{"put":{"tags":["Member Common"],"summary":"Modify APP PUSH Consent Status","description":"## Function Description\n* Changes the member's APP PUSH consent status.\n---\n## Detailed Description\n* Changes the customer's mobile-only APP PUSH consent status.\n---\n## Notes\n* This is a mobile app-only API and is not used on the web.\n* The appPushAgrYn field only accepts Y or N values.\n---\n## Revision History\n* Release v1.05_231204: Added coupon issuance upon first APP PUSH consent\n   * When the appPushAgrYn field value is Y and the member's app push consent coupon payment status is 'N', a coupon is issued.\n","operationId":"updateMemberPushInfo","parameters":[{"name":"appPushInfoRequest","in":"query","description":"App Push Consent Status","required":true,"schema":{"type":"string","description":"AppPushInfoRequest"}},{"name":"userDetail","in":"query","description":"Member Information","required":true,"schema":{"type":"string","description":"UserDetail"}},{"name":"Authorization","in":"header","description":"Access Token","required":false}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppPushInfoRequest"}}},"required":true},"responses":{"200":{"description":"Success"},"900":{"description":"Business processing error details","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}}}
```

## Save APP Device Information

> \## Function Description\
> \* Receives and saves device information transmitted from the APP.\
> \---\
> \## Detailed Description\
> \* Saves the mobile information of the customer using the APP.\
> \* Issues a first APP login coupon upon the first APP login.\
> \---\
> \## Notes\
> \* This is a mobile app-only API and is not supported on the web.\
> \## Revision History\
> \* Release v1.05\_231204: Added logic to issue coupon on first APP login\
> \* Release v2.00\_240509: Excluded Mobile Message Token Key (moblMsgTknKey) as a required value since push functionality is not included<br>

```json
{"openapi":"3.1.0","info":{"title":"X2BEE Member API","version":"v1"},"servers":[{"url":"https://api-member.x2bee.com/api/member/","description":"prd"}],"paths":{"/v1/member/memberAppInfo":{"put":{"tags":["Member Common"],"summary":"Save APP Device Information","description":"## Function Description\n* Receives and saves device information transmitted from the APP.\n---\n## Detailed Description\n* Saves the mobile information of the customer using the APP.\n* Issues a first APP login coupon upon the first APP login.\n---\n## Notes\n* This is a mobile app-only API and is not supported on the web.\n## Revision History\n* Release v1.05_231204: Added logic to issue coupon on first APP login\n* Release v2.00_240509: Excluded Mobile Message Token Key (moblMsgTknKey) as a required value since push functionality is not included\n","operationId":"saveMemberAppInfo","parameters":[{"name":"appInfoRequest","in":"query","description":"Member Mobile Device Information","required":true,"schema":{"type":"string","description":"EtMbrMoblMachInfo"}},{"name":"userDetail","in":"query","description":"Member Information","required":true,"schema":{"type":"string","description":"UserDetail"}},{"name":"Authorization","in":"header","description":"Access Token","required":false}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppInfoRequest"}}},"required":true},"responses":{"200":{"description":"Success"},"900":{"description":"Business processing error details","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}}}
```

## Modify Member Order Date

> \## Function Description\
> \* Updates the member's first and last order dates.\
> \---\
> \## Detailed Description\
> \* Records the first order date and last order date in the member's basic information data when the customer orders a product.\
> \* The first order information is recorded only once, and the last order date is updated each time the customer's order data is created.\
> \---\
> \## Notes\
> \* This API blocks external access and can only be accessed from internal servers.<br>

```json
{"openapi":"3.1.0","info":{"title":"X2BEE Member API","version":"v1"},"servers":[{"url":"https://api-member.x2bee.com/api/member/","description":"prd"}],"paths":{"/v1/member/mbrOrdDtInfo":{"put":{"tags":["Member Common"],"summary":"Modify Member Order Date","description":"## Function Description\n* Updates the member's first and last order dates.\n---\n## Detailed Description\n* Records the first order date and last order date in the member's basic information data when the customer orders a product.\n* The first order information is recorded only once, and the last order date is updated each time the customer's order data is created.\n---\n## Notes\n* This API blocks external access and can only be accessed from internal servers.\n","operationId":"modifyMbrOrdDtlInfo","parameters":[{"name":"mbrOrdDtmInfoRequest","in":"query","description":"Member Order Date Information","required":true,"schema":{"type":"string","description":"MbrOrdDtmInfoRequest"}},{"name":"Authorization","in":"header","description":"Access Token","required":false}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MbrOrdDtmInfoRequest"}}},"required":true},"responses":{"200":{"description":"Success"},"900":{"description":"Business processing error details","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Response"}}}}}}}}}
```
