Skip to content

Commit bfc6707

Browse files
authored
Fix learn.customer.io links in readme (#105)
1 parent 33e486e commit bfc6707

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ values for that field.
5353

5454
You can pass any keyword arguments to the `identify` and `track` methods. These kwargs will be converted to custom attributes.
5555

56-
See original REST documentation [here](http://customer.io/docs/api/rest.html#section-Creating_or_updating_customers)
56+
See original REST documentation [here](http://customer.io/docs/api/track/#operation/identify)
5757

5858
### Track a custom event
5959

@@ -69,7 +69,7 @@ cio.track(customer_id="5", name='purchased', price=23.45, product="widget")
6969

7070
You can pass any keyword arguments to the `identify` and `track` methods. These kwargs will be converted to custom attributes.
7171

72-
See original REST documentation [here](http://customer.io/docs/api/rest.html#section-Track_a_custom_event)
72+
See original REST documentation [here](http://customer.io/docs/api/track/#operation/track)
7373

7474
### Backfill a custom event
7575

@@ -94,7 +94,7 @@ Event timestamp may be passed as a ```datetime.datetime``` object, an integer or
9494

9595
Keyword arguments to backfill work the same as a call to ```cio.track```.
9696

97-
See original REST documentation [here](http://customer.io/docs/api/rest.html#section-Track_a_custom_event)
97+
See original REST documentation [here](http://customer.io/docs/api/track/#operation/track)
9898

9999
### Track an anonymous event
100100

@@ -106,7 +106,7 @@ An anonymous event is an event associated with a person you haven't identified.
106106

107107
#### Anonymous invite events
108108

109-
If you previously sent [invite events](https://customer.io/docs/anonymous-invite-emails/), you can achieve the same functionality by sending an anonymous event with the anonymous identifier set to `None`. To send anonymous invites, your event *must* include a `recipient` attribute.
109+
If you previously sent [invite events](https://customer.io/docs/journeys/anonymous-invite-emails/), you can achieve the same functionality by sending an anonymous event with the anonymous identifier set to `None`. To send anonymous invites, your event *must* include a `recipient` attribute.
110110

111111
```python
112112
cio.track_anonymous(anonymous_id=None, name="invite", first_name="alex", recipient="alex.person@example.com")
@@ -121,7 +121,7 @@ Deletes the customer profile for a specified customer.
121121

122122
This method returns nothing. Attempts to delete non-existent customers will not raise any errors.
123123

124-
See original REST documentation [here](http://customer.io/docs/api/rest.html#section-Deleting_customers)
124+
See original REST documentation [here](https://customer.io/docs/api/track/#operation/delete)
125125

126126

127127
You can pass any keyword arguments to the `identify` and `track` methods. These kwargs will be converted to custom attributes.
@@ -174,7 +174,7 @@ cio.suppress(customer_id="1")
174174

175175
Suppresses the specified customer. They will be deleted from Customer.io, and we will ignore all further attempts to identify or track activity for the suppressed customer ID
176176

177-
See REST documentation [here](https://learn.customer.io/api/#apisuppress_add)
177+
See REST documentation [here](https://customer.io/docs/api/track/#operation/suppress)
178178

179179
### Unsuppress a customer
180180
```python
@@ -183,11 +183,11 @@ cio.unsuppress(customer_id="1")
183183

184184
Unsuppresses the specified customer. We will remove the supplied id from our suppression list and start accepting new identify and track calls for the customer as normal
185185

186-
See REST documentation [here](https://learn.customer.io/api/#apisuppress_delete)
186+
See REST documentation [here](https://customer.io/docs/api/track/#operation/unsuppress)
187187

188188
### Send Transactional Messages
189189

190-
To use the [Transactional API](https://customer.io/docs/transactional-api), instantiate the Customer.io object using an [app key](https://customer.io/docs/managing-credentials#app-api-keys) and create a request object for your message type.
190+
To use the [Transactional API](https://customer.io/docs/journeys/transactional-api), instantiate the Customer.io object using an [app key](https://customer.io/docs/managing-credentials#app-api-keys) and create a request object for your message type.
191191

192192
## Email
193193

@@ -198,7 +198,7 @@ SendEmailRequest requires:
198198
* a `message_data` object containing properties that you want reference in your message using Liquid.
199199
* You can also send attachments with your message. Use `attach` to encode attachments.
200200

201-
Use `send_email` referencing your request to send a transactional message. [Learn more about transactional messages and `SendEmailRequest` properties](https://customer.io/docs/transactional-api).
201+
Use `send_email` referencing your request to send a transactional message. [Learn more about transactional messages and `SendEmailRequest` properties](https://customer.io/docs/journeys/transactional-api).
202202

203203
```python
204204
from customerio import APIClient, Regions, SendEmailRequest
@@ -235,7 +235,7 @@ SendPushRequest requires:
235235
* `transactional_message_id`: the ID of the transactional push message you want to send.
236236
* an `identifiers` object containing the `id` or `email` of your recipient. If the profile does not exist, Customer.io will create it.
237237

238-
Use `send_push` referencing your request to send a transactional message. [Learn more about transactional messages and `SendPushRequest` properties](https://customer.io/docs/transactional-api).
238+
Use `send_push` referencing your request to send a transactional message. [Learn more about transactional messages and `SendPushRequest` properties](https://customer.io/docs/journeys/transactional-api).
239239

240240
```python
241241
from customerio import APIClient, Regions, SendPushRequest

0 commit comments

Comments
 (0)