Hero Banner

Feedback & Support Discussions

Provide feedback on your partner experience.

Reply
Anonymous
Not applicable

CREST APIs to Partner Centre REST APIs

Hi,

 

Due to CREST APIs being deprecated soon, we are trying t replace our CREST APIs with equivalent REST APIs.

 

Q. Is the "customer-id"  in the {baseURL}/v1/customers/{customer-id}/orders HTTP/1.1 POST method the same as the "commerceId" from the  {baseURL}/v1/customers HTTP/1.1 method?

 

In addition the:

 

CREST APIs had EntitlemenID in the GET Method https://api.cp.microsoft.com/{cid-for-reseller}/subscriptions/{id} 

 

But in the Partner Centre API equivelent:

 {baseURL}/v1/customers/{customer-tenant-id}/subscriptions/{id-for-subscription} HTTP/1.1 it response only provide the subscriptionID.

 

Q. Is the entitlementId and the subscriptionId the same?

 

Thanks

KL

2 REPLIES 2
Anonymous
Not applicable

Customer ID is NOT Commerece ID. Cusotmer ID is Customer's Azure AD ID. 

You will not need to use entitlementID in PC REST API. SubscriptionID is basically GUID Subscription ID.

 

Note, PC REST API contract differes from CREST.

Anonymous
Not applicable

Hi @Anonymous,

 

Let me see if @Anonymous can help you.

 

Best,

 

Karen