[B2B] Creating payment terms

I’m looking into payment terms and creating these, but it seems we have to pass a referenceId which connects to an order, but I don’t want to do that. But it also seems theres a paymentTermsTemplateId, where are these retrieved from?

I’m looking at this in regards to doing companyLocationCreate and setting the payment terms.

But my client basically needs to create custom payment terms, but its not possible to do this without passing a referenceId which I won’t have available.

I’ve not been able to find any docs on the process of managing payment terms, is there something I’m missing?

1 Like

Hey Luke!

For the payment terms ID, this is one place where the example in our docs lists out the full id’s that can be used: paymentTermsTemplates - GraphQL Admin :joy: . You can use those ID’s in the companyLocationCreate and companyLocationUpdate mutations.

One caveat since you mentioned custom terms, currently payment terms are limited to the listed types.

Thanks Kyle, are there any plans to allow for custom paymentTermsTemplates?