Skip to content

Commit

Permalink
Merge branch 'ADP-1386-Custom-stores-server-side-api' into develop
Browse files Browse the repository at this point in the history
* ADP-1386-Custom-stores-server-side-api:
  Corrected typo in path
  Corrected link to authorization
  Updated gender to freeform
  • Loading branch information
Lutik-sun committed Nov 1, 2024
2 parents 7ffdd44 + cecf504 commit 49646c6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion versioned_docs/version-3.0/reusable/ProfileRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
| :----------------- | :------------ | ------------------- | ------------------- | :----------------------------------------------------------- |
| first_name | String | :heavy_minus_sign: | :heavy_plus_sign: | Your end user's first name |
| last_name | String | :heavy_minus_sign: | :heavy_plus_sign: | Your end user's last name |
| gender | String | :heavy_minus_sign: | :heavy_plus_sign: | Your end user's gender. Possible values: <ul><li> `m` for male</li><li> `f` for female</li><li> `o` for other</li></ul>. |
| gender | String | :heavy_minus_sign: | :heavy_plus_sign: | Your end user's gender. |
| email | String | :heavy_minus_sign: | :heavy_plus_sign: | Your end user's email |
| phone_number | String | :heavy_minus_sign: | :heavy_plus_sign: | Your end user's phone number |
| birthday | ISO 8601 date | :heavy_minus_sign: | :heavy_minus_sign: | Your end user's birthday |
Expand Down
16 changes: 8 additions & 8 deletions versioned_docs/version-3.0/server-side-api-specs.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Retrieves the details of an existing end user of your app.
#### Endpoint

```
https://api.adapty.io/api/v1/server-side-api/profiles/
https://api.adapty.io/api/v1/server-side-api/profile/
```

#### Method
Expand All @@ -84,7 +84,7 @@ GET

#### Parameters

None in the JSON body. `Profile_id` or `customer_user_id` must be set up as a header as described in [Authorization](getting-started-with-server-side-api#authorization).
None in the JSON body. `Profile_id` or `customer_user_id` must be set up as a header as described in [Authorization](server-side-api-specs#authorization).

#### Successful response: 200 - Success

Expand Down Expand Up @@ -116,7 +116,7 @@ Creates a new end user of your app in Adapty.
#### Endpoint

```
https://api.adapty.io/api/v1/server-side-api/profiles/
https://api.adapty.io/api/v1/server-side-api/profile/
```

#### Method
Expand All @@ -127,7 +127,7 @@ POST

#### Parameters

`Profile_id` or `customer_user_id` must be set up as a header as described in [Authorization](getting-started-with-server-side-api#authorization).
`Profile_id` or `customer_user_id` must be set up as a header as described in [Authorization](server-side-api-specs#authorization).
<ProfileRequest />

#### Example request
Expand Down Expand Up @@ -168,7 +168,7 @@ Changes your end user profile attributes.
#### Endpoint

```
https://api.adapty.io/api/v1/server-side-api/profiles/
https://api.adapty.io/api/v1/server-side-api/profile/
```

#### Method
Expand All @@ -179,7 +179,7 @@ PATCH

#### Parameters

`Profile_id` or `customer_user_id` must be set up as a header as described in [Authorization](getting-started-with-server-side-api#authorization).
`Profile_id` or `customer_user_id` must be set up as a header as described in [Authorization](server-side-api-specs#authorization).
<ProfileRequest />


Expand Down Expand Up @@ -231,7 +231,7 @@ Please be aware that this endpoint does not support bulk deletion, therefore eac
#### Endpoint

```
https://api.adapty.io/api/v1/server-side-api/profiles/
https://api.adapty.io/api/v1/server-side-api/profile/
```

#### Method
Expand All @@ -242,7 +242,7 @@ DELETE

#### Parameters

None in the JSON body. `Profile_id` or `customer_user_id` must be set up as a header as described in [Authorization](getting-started-with-server-side-api#authorization).
None in the JSON body. `Profile_id` or `customer_user_id` must be set up as a header as described in [Authorization](server-side-api-specs#authorization).

#### Successful response

Expand Down

0 comments on commit 49646c6

Please sign in to comment.