• Créditos da HubSpot: Desbloqueie ferramentas poderosas para o crescimento

    Dúvidas?

Order of line items created by API

embite
Membro

Hello,

 

We are using the API and we have the following problem:

 

When I create line items and associate these line items with a quote the order seems random.

 

Is there a way to order these line items? I know that we can manually order the line items. But that won't work for us because we want to automate the complete proccess. 

 

The above question is also  asked here: https://community.hubspot.com/t5/APIs-Integrations/How-can-I-control-the-display-order-of-line-items...

 

But there is no solution yet. 

Can anyone help me with this problem?

 

Thanks in advance!

 

 

1 Solução aceita
DaveParry
Solução
Colaborador(a) | Parceiro Platinum
Colaborador(a) | Parceiro Platinum

An answer has been found for this as explained in this thread

 

Basically there is a hubspot property for the order: 

hs_position_on_quote

Exibir solução no post original

4 Respostas 4
DaveParry
Solução
Colaborador(a) | Parceiro Platinum
Colaborador(a) | Parceiro Platinum

An answer has been found for this as explained in this thread

 

Basically there is a hubspot property for the order: 

hs_position_on_quote
DaveParry
Colaborador(a) | Parceiro Platinum
Colaborador(a) | Parceiro Platinum

An answer has been found for this as explained in this thread

 

Basically there is a hubspot property for the order: 

hs_position_on_quote

 

0 Avaliação positiva
Jaycee_Lewis
Autoridade no assunto

Hey, @embite 👋 Thanks for reaching out. Looking at the documentation for the Line Items endpoints, this has not changed since the answer was given in the post you linked. 

 

If I have an update or find any related documentation or changelogs, I'll be sure to update this post.

 

Best,

Jaycee





loop


Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.

Learn More




0 Avaliação positiva
embite
Membro

Hi Jaycee,

 

Thanks for your response. In the other post I linked is not a solution given. My question is how can I change the order of associated line items in a quote? 

 

To give a litle bit more background information:

 

We use the PHP library for making the request. 

 

We create multiple line items in a batch. In the batch request the line items are in the correct order. The line items are added and the created line items are returned. Then we use the returned line items to make a batch request to associate each line item to the quote. The line items are however in a random order. How can we control the order?

 

Look forward to hearing from you!

0 Avaliação positiva